ArticleslgStudy

science

Seasar

Seasar is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Seasar rather than just read about it. In short: Seasar2 is an open-source application framework similar to the Spring Framework (Java). Initially, it was developed for the Java platform by Yasuo Higa, but .NET and PHP platforms are currently supported as well.

Key takeaways

  • Seasar belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Seasar to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Seasar from memory before moving on to harder problems.

Reference excerpt

Seasar2 is an open-source application framework similar to the Spring Framework (Java). Initially, it was developed for the Java platform by Yasuo Higa, but .NET and PHP platforms are currently supported as well. Seasar2 has a large base of Japanese users, but there is a steady increase of non-Japanese users since English support was announced at the JavaOne 2005 Tokyo conference. Seasar2 is currently supported by the Seasar Foundation, a non-profit open source organization.

History Seasar was initially made public in August 2003 at SourceForge.jp as an application server using Jetty (web server) and HSQLDB. The name was coined by the initial developer Yasuo Higa after an Okinawan mystical creature Shisa. In March 2004, Seasar was re-introduced as light weight dependency injection and AOP container and renamed Seasar2. Even though, development of Seasar came to a halt, the last release, seasarsetupV1Final With Nazuna, may still be downloaded from the Seasar2 site. In April 2005, Seasar2 obtained assistance from OSCJ.net (Open Source Collaboration Joint Network) and moved out from SourceForge.jp.

Introduction Like other DI container frameworks, components are defined in external XML files. There is, also, a strong support for database and unit testing with JUnit. The main difference with other frameworks is the support of the concept "Convention over Configuration" to reduce the XML configuration prominent when using framework such as Spring. The aim is to reduce the number or eliminate configuration files by making developers conform to programming and configuration conventions and letting the framework do the work. For example, if a property type is an interface and there is an object that implements this interface, dependency is configured by the container. If the test method name ends with a "Tx", a transaction is initiated before the unit test and rolledback after the test.

Modules Seasar2 support of other open source software are prefixed with S2. Like most open source software, Seasar2 software may be divided into 3 major categories:

Seasar2 core Related software Sandbox software - software still under development Related software may further be subdivided into the following subdivision:

Database related: S2DAO, S2Hibernate, S2Unit(JUnit) Presentation: S2JSF, S2Struts, S2Tapestry, Flash player Communication related: S2RMI, S2Axis Miscellaneous: Kijimuna

Seasar2 Core Seasar2 core is the central software common to all Seasar2 related software. Transaction control module (S2Tx), database connection pooling (S2DBCP), and JUnit testing (S2Unit) are all bundled with this core.

Cross-Platform Support Seasar is currently supported on Java/Java EE, PHP5, and .NET.

Future On April 22, 2005, at Seasar Strategies Day 2005, project Kuina was announced as the next release of Seasar2. At the conference, it was announced that Kuina will support for EJB3.0 (JSR220) as well as J2SE 5.0 annotation. From http://ml.seasar.org/archives/seasar-user-en/2010-March/000039.html :

The language of all of our documents and error messages is Japanese, Japanese ML is very active, and all committers are Japanese. [...] Unfortunately, we don't prepare english documents for the current version(2.4).

Events Seasar Foundation periodically holds "Karasawagi" conferences around Japan to allow developers and users to talk with each other. Seasar is also featured in JavaOne conference.

External links Seasar Framework Seasar .NET Seasar PHP5

Worked examples

Example 1 — a first encounter with Seasar

Start with the simplest possible case. Write down what Seasar claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Seasar before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Seasar ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Seasar

In research
Seasar appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Seasar in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Seasar is common in secondary-school and first-year university syllabi. It links to neighbouring topics Java enterprise platform, so understanding it makes those chapters shorter.
In everyday life
Look for Seasar outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Seasar” →

How to study Seasar in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Seasar means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Seasar out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Seasar in simple terms?

Seasar2 is an open-source application framework similar to the Spring Framework (Java). Initially, it was developed for the Java platform by Yasuo Higa, but .NET and PHP platforms are currently supported as well.

Why does Seasar matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Seasar?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Seasar.

Tags

  • Java enterprise platform

Keep exploring