We blend along with the current industry standards and
makeovers |
|
This series of bare bone examples with screenshots would abound
the following themes.
- Pre Requisites, Installation and the use of
different IDEs.
- Java Web-Application: containing all markup
languages and dynamic web components like Servlet, JSP,
JavaBeans etc.
- Java EE: will include codes and code
snippets which will be used to develop rich client server
applications. This section will cover Web services, EJB,
Persistence and other APIs.
|
JEE : Java Enterprise Edition |
We felt that to understand JEE better, understand it's targeted
platforms or the purpose behind the APIs.
- Let Servlet services serve the client.
- Design Servlet centric application with request and
response.
- Considering Component
- Java Bean resides in JVM
- must reside in the same JVM as the client and server
- Enterprise Java Bean (JB)
- Distributable component
- understand request, session
- can reside different JVM allowing a client be
separated form the server and be placed in a different
machine.
- Developing business logistics as a middle layer
- And so on: please refer to JEE API listed below.
|
What is Java EE?
Java Enterprise Edition( JEE or J2EE)
is a platform containing many web
API for developing, deploying, creating
web-services, managing multitier and
server-centric applications. The Java EE
API relies on the Java SE platform and
provides numerous APIs for developing
portable, dynamic, robust, scalable,
reliable and secure server-side
applications.
Some of the fundamental components of
Java EE include:
|
J2EE & JEE Ref :
http://java.sun.com/javaee/
" The name of the Java platform for the
enterprise has been simplified. Formerly, the
platform was known as Java 2
Platform, Enterprise Edition (J2EE), and
specific versions had "dot numbers" such as
J2EE 1.4. To strengthen the association with
the Java platform, the short name is
now Java EE, and
to simplify the version number, the leading "1."
is dropped. So the
latest version of the Java platform for the
enterprise is Java Platform, Enterprise Edition 6
(Java EE 6). "
New Features (New Over the Old, a quick
glimpse)
- EJB 2.x has been simplified and
substituted with EJB 3.0
- Web Beans would address the anarchies in
EJB, JTA, JPA
- Servlet 3.0 , JPA 2.0
- using annotations instead of XML
- Web-fragments
- JPA 2.0 simpler than JPA 1.0
|
There
are two
Java EE
6 SDK
versions:
-
Java
EE 6
SDK
-
Java
EE 6
Web
Profile
SDK
These
SDK
versions
support
the
latest
technologies
of the
Java EE
6
Specification.
Java EE
6 SDK
-
Sun
GlassFish
Enterprise
Server
v3
-
Java
EE 6
Samples
-
API
documentation
(Javadocs)
-
Your
First
Cup:
An
Introduction
to
the
Java
EE
Platform
Java EE
6 Web
Profile
SDK
-
Sun
GlassFish
Enterprise
Server
v3
Web
Profile
-
Java
EE 6
Samples
-
API
documentation
(Javadocs)
-
Your
First
Cup:
An
Introduction
to
the
Java
EE
Platform
|
- J2EE 6 APIs : (Ref Point :
http://docs.sun.com/app/docs/doc/820-7627/bnacj?a=view
- Enterprise JavaBeans (EJB)
- Session
- (Entity bean is replaced with JPA)
- message
- Java Servlet Technology (JST)
- Asynchronous support
- Ease of configuration
- Pluggability
- Enhancements to existing APIs
- Annotation support
- Java Server Faces (JSF)
- Facelets :Replacing Java Server Pages (JSP)
contents with XHTML files.
- Provides Ajax Support.
- Java Server pages :allowing Servlet to text
based document.
- Static: processing HTML, WML and XML
scripting.
- Dynamic: JSP
- Java Server pages Standard tag Library (JSTL).
- Like jQuery you can select a prefix,
declaring a library as shown below.
- <%@ taglib
uri="http://java.sun.com/jstl/core" prefix="c"
%>
- Java Persistence API (JPA)
- The Java Persistence API
- The query language
- Object/relational mapping metadata
- Java Transaction API(JTA)
- Performs : operations like begins, rolls
back, and commits.
- Java API for Web-services (JAX-RS) RESTful
- Java Message Service API.(JMS)
- Asynchronously create, send, receive, and
read messages.
- java EE connector Architecture
- JavaMail API
- JavaMail API to handle email notification
- Java ACC ( Authorization Service Provider
for Containers)
- Java Authentication Service Provider for
Container (JASPIC)
- Java API for XML Registries (JAXR)
- Java EE 6 API included in Java SE 6
- Java Database Connectivity (JDBC)
- Java Naming and Directory Interface (JNDI)
- JNDI
lookups:
java:global,
java:module,and
java:app.
- JavaBeans Activation Framework (JAF)
- Java API for XML Processing
- Java Architecture for XML Binding (JAXB)
- SOAP with Attachments API for Java (SAA)
- Java API for XML webservices (JAX-WS)
- Java Authentication and Authorization
Service (JAAS)
- Sun GlassFish Enterprise Server V3
|
Many graphical updates, remodeled and many tools to considerJava
mist or fog is clearing up with new-facelifts by Oracle corporation.
- GUI :
- Text Pad 5.x, a road warrior's concealed editor.
- Old buddy Eclipse, PHP, JEE or C++ all you can plug in
or out.
- NetBeans with a power of a studio-software; Java, JEE or
PHP, choice is yours
- Many database choices
- Oracle Express
- Oracle 10g, 11g ( big muscles)
- MySQL and SqlLite ( Slick databases )
- Create, view web applications before deploying.
- Deploying way easier than before, jar or war, both are
tasty bundles.
- Pick Tomcat , JBoss, GlassFish, for windows or Linux,
whether 64 by 32, all scalable
|
|