Posted: February 11, 2012 in Random Posts

Java Tutorials

In J2EE, application modules are packaged as EAR, JAR and WAR based on their functionality.

Each type of file (.jar, .war, .ear) is processed uniquely by application servers, servlet containers, EJB containers, etc

JAR:

Jar file (file with a .jar extension) is the normal Java Application archive and intended to hold generic libraries of Java classes, resources, auxiliary files, etc

This can be added in classpath for compilation and to run java program. Generally in web applications we keep these files in lib directory of the application.

Ex: ojdbc14.jar – This contains all the classes to connect the oracle database

Servlet-api.jar – contains servlet related classes

WAR:

Web modules which contains Servlet class files,JSP Files,supporting files, GIF and HTML files are packaged as JAR file with .war( web archive) extension

War files (files with a .war extension) are intended to contain complete Web applications. In this context, a Web application…

View original post 78 more words

Advertisements
Comments
  1. Delmar Griepentrog says:

    I think this site has got some really great information for everyone. “Few friendships would survive if each one knew what his friend says of him behind his back.” by Blaise Pascal.

  2. credit card holder says:

    I am glad to be a visitant of this sodding web site, appreciate it for this rare info!

  3. sims slots games says:

    I really like your writing style, excellent information, thankyou for putting up : D.

  4. free slots games says:

    Dead indited content , thanks for information .

  5. hybrid car books says:

    Utterly pent written content, Really enjoyed looking at.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s