Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword
Like this
4Activity
0 of .
Results for:
No results containing your search query
P. 1
J2EE

J2EE

Ratings: (0)|Views: 32 |Likes:
Published by yallasuri

More info:

Published by: yallasuri on Aug 27, 2010
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as DOC, PDF, TXT or read online from Scribd
See more
See less

10/15/2010

pdf

text

original

 
The J2EE platform provides access to a host of enterprise services using well-defined and standardJava Enterprise APIs that are listed below.
Enterprise JavaBeans (EJB)
extensible Markup Language (XML)
Servlets
Java Server Pages (JSP)
Java Messaging Service (JMS)
Java Database Connectivity (JDBC)
Struts
Hibernate
JSF
JavaMail
JavaIDL
Java Naming and Directory Interface (JNDI)
Java RMI/IIOP
Java Transaction Services (JTS) and Java Transaction API (JTA)Servers:
Websphere
Weblogic
JBoss
Geronimo
Tomcat
Oracle
SunIDEs
Eclipse
RAD
WSAD
JDeveloper 
 NetBeans
Advantages:
Everything is standardized. There are well-documented APIs you can implement over legacy systems, WebSphere, Weblogic, JBoss, whatever. If you have J2EE application servers, it's no problem. Ingeneral, J2EE gives you a lot of flexibility. Once you've developed your app, you can deploy it wherever you need to. All you need to do is change the deployment descriptors. Also, the open source community has tons of really cool, free, well-documented tools.
J2EE is platform independent. So It can work in any os like windows, linux, mac, etc..Running j2ee applications is simple.. It just need a server which support j2ee standard jsp,servlets,taglibs,etc like tomcat, jboss, websphere..
 
It is easy to maintain and modify..Localisation is supported.. We can define variables instead of text.. So it is easy todevelop for different languages(english, french, german, chinese, etc).It is Open Source.Even the IDE(Integrated Development Environment) like Eclipse, Netbeans, are free.Application servers are also free like Tomcat, jboss,etc.. Databases like Mysql,PostgreSQL which are commonly used in J2ee are free too.. So the development cost ischeap.. Just need pc and a programmer..It can be classified in to different stages and levels of developments.. So the developer and designer roles can be clearly separated.
Simplified connectivity. J2EE technology makes it easier to connect the applications and systems you alreadyhave and bring those capabilities to the web, to cell phones, and to devices. J2EE offers Java Message Servicefor integrating diverse applications in a loosely coupled, asynchronous way. The J2EE platform also offersCORBA support for tightly linking systems through remote method calls. In addition, the J2EE platform has J2EEConnectors for linking to enterprise information systems such as ERP systems, packaged financial applications,and CRM applications.Faster solutions delivery time to market. The J2EE platform uses "containers" to simplify development. J2EEcontainers provide for the separation of business logic from resource and lifecycle management, which meansthat developers can focus on writing business logic -- their value add -- rather than writing enterpriseinfrastructure. For example, the EnterpriseJavaBeans(EJB) container (implemented by J2EE technology vendors) handles distributed communication, threading, scaling, transaction management, etc. Similarly, JavaServlets simplify web development by providing infrastructure for component, communication, and sessionmanagement in a web container that is integrated with a web server.
Freedom of choice. J2EE technology is a set of standards that many vendors can implement. Thevendors are free to compete on implementations but not on standards or APIs. Sun supplies acomprehensive J2EE Compatibility Test Suite (CTS) to J2EE licensees. The J2EE CTS helps ensurecompatibility among the application vendors which helps ensure portability for the applications andcomponents written for the J2EE platform. The J2EE platform brings Write Once, Run Anywhere (WORA)to the server.
Disadvantages:
It's complicated, and the architecture allows you to shoot yourself in the foot. For example, it's a well-known best practice never to put business logic in an interface, but the architecture lets you do that. Soprogrammers can put database calls in JSP [JavaServer Pages, the Java user interface for the Web] if itseems like a good idea at the moment. Later, when there's a change in the DB, you end up having tochange 50 JSPs.
 
Figure-1
J2EE Application ModelAs you can see from the Figure-1, there are four tiers in J2EE application model:client tier, web tier, business tier and enterprise information system (EIS) tier.Business and web tiers are generally existed in a server application called applicationserver or J2EE server. Application server provides complex services needed bycomponents in business and web tiers.

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->