By: Nitesh Srivastava 28445
By: Nitesh Srivastava 28445
Nitesh Srivastava
28445
Enterprise Edition of JAVA: Facing many shortcomings in the
standard edition of JAVA, SUN Microsystems had launched the new version
of JAVA that is known as J2EE (JAVA 2 Enterprise Edition). It has so many
new features over the standard edition. They are:
•JAVA Mails: This feature provides the facilities of E-Mails and the
massaging. It is platform and protocol independent so present an
ideal way to build e-mail and massaging services.
J2EE Connector: There are many tools that are designed to connect
the front end and back end parts of the program but still they are not
able to provide the integrity with the Enterprise Resource Planning
(ERP) and Enterprise Information Systems.J2EE Connectors are used
to take this facility.
3-Tier Architecture:
Every Enterprise application is logically divided into three tiers. They are
known as:
• Presentation Logic
• Business Logic
• Data Base and Enterprise Application
Presentation Business Data
Logic Logic Source
3-Tier Architecture
INTERNET/
INTRANET
client
BEANS DATABASE
server
A JAVA Bean is a soft ware component that has been designed to be reused
In different environments. It may perform a simple job like spelling checking and
can perform big tasks such as forecasting the things.
Name: sunw/demo/slides/slide0.gif
Name: sunw/demo/slides/slide1.gif
Name: sunw/demo/slides/slide2.class
Java-Bean: True
c A new Archive is to be created
f The first element in the file list is the name of archive that is
to be created
i Index info.
jar uf XY.jar file1.class --- updates (adds) the file 1.class to XY.jar
Introspection is the process of analyzing a Bean to
determine its capabilities. This is an essential feature
of Java Beans API, because it allows an application
builder to present information about a component to a
software designer. Without introspection, the Java
Beans technology could not operate.
There are two ways for this introspection
can take place. In the first method, simple naming
conventions are used. In second method a explicit file
is used to give the information.
A Bean that has constrained properties generates
an event when an attempt is made to change its
value. The event is of type PropertyChange Event.
•http://developer.java.sun.com/developer/technicalArticles/EBeans/
•http://www.javaworld.com/javaworld/jw-10-1998/jw-10-beans.html
•http://www.javaworld.com