I am working on java application which uses servlets, application server, jms, jmx etc. so is this the J2EE application. and are there any particular criteria to say a particular application is a J2ee application.
views:
72answers:
5For me it is pretty simple. If you application use JEE API which is provided to you by some Application Server than your application is JEE application.
List of EE API:
- It is called JEE now
- Here's a list of JEE technologies. If you are using any of them, your application is JEE.
But it doesn't matter how you are going to call it. Would it matter if you are going to call your application an "apache commons application" in case you are using any of the apache commons libraries? No :)
Servlets are part of Java EE.
If you look for javax.servlet you'll find it in the javaee jar. Some of the technologies in J2EE (from http://java.sun.com/javaee/technologies/) are:
- Servlets
- Web Services
- Enterprise Java Beans
- Java Persistence
- Java Message Services
- Java Transactions
- Java API for XML Processing
- Java Mail
- Java Authentication
I don't completely aggree with the other answers.
You have JEE application if you can package it as a .war
or an .ear
and deploy it according to the JEE standards.
If you have a stand-alone application which uses JMS, it doesn't make it a JEE application in the sense most people will understand it. Same for JMX, JavaMail or other APIs. Still, such an application would use the JEE API. But in your case, I would say, yes, you have a JEE application.
If your application using any J2EE API, then you can consider your application based on J2EE technology.
You can check the docs for the J2EE APIs.