FAQ

General

What is Jolorun ?

Jolorun is an open source project that has two sides :

  1. Helps you to start-up a Java EE 6 project. Jolorun gives you a wizard to choose between the Java EE 6 specifications that your project needs and creates a directory skeleton with business and unit test classes, a Maven pom.xml file, all that up and running to an application server
  2. Gives you a library of ready-made Java EE 6 projects. There are some ready-made projects that you can choose from, get the source, install and run. These projects all follow the Jolorun structure.

Is it a round-trip engineering tool ?

No, Jolorun is a one-shot, code generator.

What does Jolorun mean ?

In traditional Yoruba religion, Olorun is the creator of the universe. In the Java universe, Jolorun is the creator of Java EE 6 projects.

How is Jolorun related to AppFuse ?

AppFuse enables you to choose between several technologies to kick off a project. Jolorun allows you to choose between specifications, not technologies. It focuses on Java EE 6. For example, AppFuse allows you to choose between JSF and Struts, Hibernate and iBatis… Jolorun uses JSF and JPA.

Is Jolorun Open Source ?

Yes and it is developed under an Apache 2 license.

How can I contribute ?

There are several ways to contribute : adding code to Jolorun or developing new applications and giving them back to the Community.

Jolorun

In which programming language is Jolorun written ?

Groovy and Java. Groovy for the scripting and templating and Java for the end result (a Java EE 6 application).

What JDK version is needed to run Jolorun ?

Java SE 6 (JDK 1.6).

Does Jolorun use Spring ?

Jolorun doesn't use Spring, it uses the EJB 3.1 model instead.

Does Jolorun use Hibernate ?

Not exactly. Jolorun uses EclipseLink which is the JPA reference implementation. Because Hibernate implements JPA, Jolorun will allow you to choose implementations in the future.

Which version of Java EE does Jolorun support ?

Jolorun 6 supports Java EE 6. Jolorun 7 will support Java EE 7 and so on.

How does the versioning work ?

Jolorun uses a composed versioning number :

  • Version of the Java EE specification it relates to
  • A number with format : major.minor.revision

For example you'll have :

  • Jolorun 6_0.1 : first beta version of Jolorun 6 (read Java EE 6)
  • Jolorun 6_1.0 : first version of Jolorun 6
  • Jolorun 6_11.2.4 : 11th version of Jolorun 6 with a second minor version and revision 4
  • Jolorun 7_1.0 : first version of Jolorun 7

Which application server does it run on ?

At the moment GlassFish v3.

Why doesn't Jolorun use Log4j ?

The main idea of Jolorun is to use Java SE/Java EE specifications. To do this, Jolorun uses the java.logging.* package. Later, it's possible it may allow you to choose between the Java Logging API and Log4j but not at the moment.

Does Jolorun come with unit tests ?

Yes. In J2EE it was really difficult to unit test your code. With Java EE 6 it's very easy because most of the components are just Pojos. Unit testing these components has also become standard because there is now a standard API to interact (start, deploy, stop...) with application servers. JUnit classes are developed for each Jolorun project.

How do I compile my code ?

By using Maven and the command mvn install.

Can I use continuous integration ?

Yes. Thanks to Maven you can easily use tools such as Hudson or Bamboo.

Java EE 6

What is Java EE ?

Java Enterprise Edition or Java EE is a platform for server side programming. The Enterprise Edition (EE) differs from the Standard Edition (SE) of Java in that it adds libraries which provide functionality to deploy fault-tolerant, distributed, multi-tier Java software, based largely on modular components running on an application server.

What is profile ?

The Java EE 6 specification introduces the notion of profiles. A profile is a configuration of the Java EE platform, targeted at a specific class of applications. It is either a subset of the platform, or a superset of it. For example, the Web Profile is a subset of Java EE 6 specification and focuses on the web part (no JMS, no MDB, no Remote interfaces...).

Does Jolorun supports all the Java EE 6 specifications ?

Yes, at least many of the new ones. However, Jolorun does not support pruned specifications such as JAX-RPC or EJBs 2.x. Jolorun does support :

What does prunning mean ?

When a specification is marked as prunned, it means that it will disappear in its next version. For example, JAX-RPC and Entity Bean CMP 2.x are prunned in Java EE 6, they will then disappear from Java EE 7.

Can I unit test a Java EE 6 application ?

Yes, and in a standard way. Java EE 6 components (EJBs, Web Services, RESTful services...) are just Pojos and can be unit tested as is. Since Java EE 6, most of these components can be deployed into an embedded lightweight container (running on the same JVM that your unit tests) through a standard API.

Other

What is Maven ?

Maven is a software tool for Java project management and build automation.

What is Groovy ?

Groovy is a dynamic, object-oriented programming language for the Java Platform. It can also be used as a scripting language.

Comments 0

No comments for this document
Java Champion

Paris JUG Leader

Cast Codeurs

Antonio Goncalves' personal website