Monday, January 14, 2013

Clearing Up Facts about J2EE

If you want to know what J2EE means, it is an acronym for Java 2 Platform, Enterprise Edition. Java is a programming language created by Sun Microsystems. The platform is designed to interpret computer instructions and act accordingly.


Overview of J2EE
As a computer language, Java is a cross platform and can run on different devices. You can for instance, create Java code for a router and it will run on desktop computers, routers and other devices as long as their Java features are turned on. Given this fact, it is easy to see why this platform has become very popular. The 2 in the JEE stands for the version number, although in many instances, the 2 is no longer used.

The EE means Enterprise Edition, the most powerful version of Java. This should not be confused with the Micro Edition which is made for PDAs and mobile phones. It is also different from the Standard Edition which is also compatible with desktops, laptops and mobile systems. The EE edition is the most powerful of all these and have all the features and functionality of the other editions.

Specs and Standards
The specs determine the platform edition. Just like other community processes, certain specs have to be met before their products are recognized as being J2 compliant. The specs include XML, web services, JMS, email, RMI, and JDBC among others. Other editions have specs that are only for the EE components including JavaServer Pages, servlets, Connectors, and Enterprise JavaBeans. This makes it possible for a developer to make enterprise programs that can be scaled and are portable.

This also allows them to become integrated with old technologies. A well designed J2EE server will be able to conduct management of the components assigned to it, concurrency, scalability and security. It can also handle transactions, allowing developers to focus more on business than risks of integration.

APIs
These include javax.faces which determines JavaServer Faces (JSF) API Root. The JSF is the technology that creates components for a user interface. The javax.faces.component is a package that determines the JavaServer Faces (JSF) API parts. Because it is geared towards components, it is considered as core.

The javax.servlet defines the APIs for any requests made to HTTP and has the JavaServer Pages specs. There is also the javax.enterprise.inject which has the Dependency Injection (CDI) API's and have injection annotation definitions. There is another one called the javax.enterprise.context which assesses the interfaces and the context annotations for the CDI API.

Another API is javax.ejb. Sun has also released the Enterprise JavaBean (EJB) defines APIs of the lightweight type that its container is capable of supporting. This will allow it to conduct transactions business object control, dependency injection, concurrency control and other functions. This package also comes with interfaces and classes that address the clients and the enterprise bean contract.

The javax.validation meanwhile has the interfaces and annotations interfaces for declarative validation support that comes with the API. There is also the javax.persistence which defines Java Persistence API clients and other managed classes.

Now that you know what J2EE means, you can make intelligent choices when it comes to making a purchase. Each of these packages has its own set of features that make them suitable for a variety of tasks. However it is important that you study each one to make sure you get the right package.

Bob is a free lancer writer of http://www.techiesguide.com/ and currently he is learning J2EE by a well know institute at Melbourne.

No comments:

Post a Comment