The Java EE 6 web Profile specification defines the Java EE internet Profile (“internet Profile”), a profile of the Java Platform, commercial enterprise edition peculiarly targeted at internet functions. Siwpas, (essential web Profile application Server) is an utility server aimed toward implementing the Java EE net Profile specification. in this article, the accessories of Siwpas, its latest state and the degree of compatibility concerning the internet Profile Specification will be mentioned.
Java business edition (Java EE or previously called Java 2 Platform, commercial enterprise version or J2EE) is an commercial enterprise platform for developing enormously purchasable, cozy, reliable and scalable enterprise functions. The Java EE platform has undergone several alterations from its first liberate version J2EE 1.2 (December 12, 1999). The latest version of the specification is Java Platform, enterprise edition (Java EE) Specification, v6. in this white paper, Java EE and Java Platform, business edition (Java EE) Specification, v6 might be used interchangebly. The Java EE Specification defines “Java EE Profiles”. A Java EE profile (without difficulty “a profile”) represents a configuration of the platform perfect to a specific classification of functions.
“Java EE web Profile” is a “Java EE Profile” that consists of a couple of independent necessities related to net utility development. Siwpas is an open source (LGPL license) software server in response to Apache software foundation (ASF) Java EE projects. The latest version of Siwpas is “CR-5” and the first commerical pleasant edition is deliberate to be released on the end of March. This white paper has been equipped as follows: Java EE internet Profile section offers some particulars about internet Profile. The next section talks in regards to the ASF and its Java EE based initiatives. The MechSoft Siwpas section explains the add-ons of Siwpas and its compatibility related to the net Profile specification. This white paper ends with abstract and References sections.
Java EE 6 internet Profile
The Java EE Platform Specification incorporates a huge variety of requirements (APIs). For platform company organizations, it isn't handy to enhance a completely compliant Java EE Platform that implements the entire required add-ons of the Java EE Platform Specification. For software builders, it is not vital to use all of the Java EE APIs for developing enterprise purposes. on account of these observations, the Java EE expert neighborhood (EG) has described Profiles in Java EE v6 and the first regular profile has been described, “Java Platform, business version 6 (Java EE 6) web Profile Specification”.
The net Profile is geared toward builders of up to date net purposes. Aiming “modern” internet applications then implies providing a fairly comprehensive stack, composed of usual APIs, and out-of-the-field means to tackle the needs of a big type of net applications. in addition, this stack should be convenient to grow, with the intention to address any remaining developer wants. The web Profile stack has consisted of a couple of technologies. table 1 shows the net Profile required add-ons. Java web functions are commonly written as 3-tiers. These tiers are “web Tier”, “enterprise Tier ” and “Persistence Tier”. every of the web Profile element sits on these tiers as follows:
• internet Tier: Servlet, Java Server Pages, Debugging support for different Languages, standard Tag Library for JSP, Java Server Faces.
• enterprise Tier: enterprise Java Beans Lite, Persistence Tier, Java Persistence API
one of the vital add-ons are used for ordinary performance. These components and their services are as follows:
• standard Annotations for the Java Platform: This JSR will enhance annotations for average semantic concepts in the J2SE and J2EE platforms that follow throughout a number of individual technologies:
• Java Transaction API: Transaction administration and demarcation
• Bean Validation: administration of company constraints
• Managed Beans: typical lifecycle of managed beans
• Interceptors: point Oriented Programming (AOP) operations
• Context and Dependency Injection for Java EE: Dependency injection for Java EE
• Dependency Injection for Java: Dependency injection for common Java
As they understand, the Java EE net Profile is a subset of the Java EE Platform specification. lots of Java EE Platform specification required add-ons are not contained in the Java EE web Profile. For exampe, these are components that now not defined for the Java EE web Profile specification: JAX-WS, JAX-RPC, JAX-R, SAAJ, JAX-RS, JAX-B, JMS, JAAS, JASPIC, JACC, JCA, JavaMail, JSR77, JSR88. finally, it's worth remembering that web Profile products are allowed to ship with extra technologies, to the mandatory ones. it is conceivable that items will offer selections all the way through installing between distinctive configurations, some richer in extensions, and even enable for finished customization beyond the required core (“à la carte” setting up).
Apache EE projects
The Apache software basis provides organizational, prison, and fiscal aid for a broad latitude of open source utility tasks. The foundation provides a longtime framework for highbrow property and fiscal contributions that concurrently limits the contributors’ expertise legal publicity. via a collaborative and meritocratic construction method, Apache projects convey enterprise-grade, freely obtainable software items that appeal to massive communities of clients. The pragmatic Apache License makes it easy for all users, commercial and individual, to install Apache items.
In Siwpas, they use ASF Java EE projects for pleasant Java EE internet Profile required add-ons. These tasks and their correspondence to web Profile accessories are shown below.
except for the Apache OpenEJB assignment, each and every of the above ASF projects is standalone appropriate with TCK (know-how Compatibility kit). In other words, Tomcat 7, MyFaces 2, OpenWebBeans, Bean Validation and OpenJPA are TCK compliant projects on their own.
EJB Lite container in Siwpas is a subset of the Apache OpenEJB challenge and is referred to as a Siwpas EJB Lite Container. presently Siwpas EJB Lite Container has now not been confirmed with EJB three Lite TCK.
Mechsoft Siwpas software Server
Siwpas (suggested as elementary web Profile application Server) is a lightweight Java application server platform for constructing enterprise great Java EE net purposes. Siwpas integrates above ASF Java EE based tasks for offering a Java EE web Profile appropriate runtime platform Integrating distinct sets of tasks on the same runtime isn't a simple project . MechSoft has been writing an integration layer component to combine Apache Tomcat 7 runtime with Siwpas EJB 3.1. Lite container runtime.
moreover, a fab net based management console for managing all facets of Siwpas has been written. The Siwpas management console could be launched with the 1.0.0 GA unlock of Siwpas and provides right here administration operations:
• overall realtime view of the latest working gadget: CPU, reminiscence, OS, JVM Heap size
• Server configuration
• applications view and deployment operations
• JMX, JNDI and ClassLoader views
• internet and EJB Container runtime status
• And extra…
determine 2 shows a sample photograph view from Siwpas console “functions View” page.
Why Siwpas, why a different server?
before Siwpas turned into developed, Apache OpenWebBeans (implementation of Context and Dependency Injection for Java EE Specification) and Apache OpenEJB were used in some commercial projects, but they wanted to make use of a lightweight application server in a cloud infrastructure. at the moment there become no open supply application server for the use of the OpenWebBeans and the OpenEJB in a lightweight server runtime. therefore it became decided to implement a light-weight server in accordance with Apache Tomcat 7.
these days, a major variety of software builders and enterprise corporations need to use light-weight software servers for deploying and working their net purposes. They don't want to use heavyweight Java EE Servers which are totally compliant with Java EE specifications. They need to manage lightweight, cloud environment pleasant servers. even so, they also need greater technology stack for implementing their web based functions, equivalent to “JPA, JSF, JTA , EJB and so on.” in addition, most of them set up their essential commercial enterprise internet functions into the Apache Tomcat in their production systems.
Siwpas is aimed at offering a lightweight software server runtime in line with Apache Tomcat 7 . It also fills web functions expertise necessities by the use of ASF Java EE initiatives. In summary, Siwpas interprets Apache Tomcat 7 into a greater powerful commercial enterprise web server.
The advantages of using Siwpas may also be listed as follows:
• It has a light-weight however effective runtime environment
• it is in accordance with the very-smartly accepted JSP & Servlet Container, Apache Tomcat 7
• It contains web Profile Specification know-how stack
• It carries powerful, commerical high-quality ASF Java EE tasks
• it is an open source undertaking
• it's supported by using MechSoft (7×24 business assist)
• it's mild and may be always light
• It has a extremely cool JSF based administration console
web Profile Compliance
at the moment Siwpas does not claim compliance with Java EE net Profile Specification because it has not been tested with Java EE web Profile TCK. This doesn't suggest that Siwpas will certainly not be certified as a web Profile Compliance software server. so as to verify Siwpas with Java EE internet Profile TCK, MechSoft needs to be a licensee of Oracle and they are discussing an affordable approach to achieve this TCK. As mentioned within the above paragraphs, with the exception of Apache OpenEJB, ASF Java EE initiatives are TCK compliant with their respective specificiations.
There are two different versions of Siwpas: neighborhood edition and enterprise version. The desk below suggests modifications between each edition.
The Java EE internet Profile Specification is the primary typical profile specification in the Java EE Profiles this is explained within the Java EE Platform Specification. in its place of the use of full profile suitable Java EE servers, developers are now able to use extra lightweight server runtimes for constructing their Java based web applications. This does not mean that full profile application servers reminiscent of Apache Geronimo will be needless. Some enterprise applications nevertheless deserve to use different cool elements of the Java EE full profile, similar to remote EJB Invocation, Asynchronous Message Processing by the use of JMS, CORBA Integration and many others. In an upcoming version of the Java EE platform, a number of extra certain profiles can be considered. Siwpas is a light-weight net utility server according to the ASF Java EE initiatives. It offers Java EE internet Profile accessories with a magnificent internet based administration console. It is without doubt one of the lightweight application servers to put in force Java EE web Profile Specification.