Technical sessions | track four | java ee – Google 2007 JavaOne Advance Conference Guide User Manual
Page 32
![background image](/manuals/552844/32/background.png)
30
|
| technical sessions | track four : java EE |
* Content subject to change.
TECHNICAL SESSIoNS
| TRACK FOUR | JAVA EE
Java EE
Some existing applications may make use of exotic features that are
slightly off the beaten path, and some of these applications may not
be willing to sacrifice such features for the sake of portability. The
presentation shows how hooks provided by the Java Persistence API can
be used to access features outside the specification, thus allowing an
application to maintain and leverage existing custom features within the
framework of a standard API.
The tips and tricks contained in this session are presented in the form
of principles and descriptions and then as concrete examples. Java
programming language code snippets are used to illustrate the concepts
and apply them to real-world applications.
This session will be of great interest to developers who want to write
portable persistence code and offers specific advice to those who
are developing, or planning to develop, applications using the Java
Persistence API. Architects, system designers, and strategic technology
planners will also profit from this talk and will come away with a general
awareness of portable persistence in relation to the Java Persistence API.
Attendees do not need to have experience with the Java Persistence API to
attend this talk, and although some knowledge of the issues surrounding
persistence would be beneficial, it is not required.
TS-4593 Guidelines, Tips, and Tricks in using Java EE 5
from the Java BluePrints Program
Inderjeet Singh, Sun Microsystems, Inc.
This session describes best practices for using the Java EE 5 platform for
writing web-based enterprise applications. It presents some puzzlers and
gotchas from the trenches regarding Java EE 5 on what seems obvious but
is wrong. It also discusses how best to use the various Java EE and Java SE
annotations, when to avoid them, and how to successfully use the various
Java SE 5 and Java SE 6 features in your enterprise applications. Finally,
it describes how to correctly write web-only applications that use Java
technology-based persistence and covers the design choices for building a
robust model tier with Java Persistence APIs and Java Transaction APIs.
TS-4656 Harvard-MIT data Center’s dataverse Network:
A JavaServer Faces/Enterprise JavaBeans 3.0
Technology digital Library Application on Java EE 5
Wendy Bossons, Harvard University
Merce Crosas, Harvard University
Gustavo Durand, Harvard University
Gary King, Harvard University
Ellen Kraffmiller, Harvard University
Bob Treacy, Harvard University
The Harvard-MIT Data Center provides an open source platform
for management, dissemination, exchange, and citation of virtual
collections of quantitative and qualitative research data. HMDC
is the principal distributor of quantitative social science data from
major international data consortia for Harvard and MIT and a leader
in research in digital libraries and statistical methodology. HMDC is
affiliated with The Institute for quantitative Social Science at Harvard
University. When HMDC decided to update its technology in 2006, some
of the considerations in this decision were the need for I18n, a rich client
interface enabling students, researchers, and librarians to organize their
work, and support for complex relationships between the entities that
make up such a system.
The latter requirement may have steered the HMDC away from Enterprise
JavaBeans (EJB) technology in the past, but it felt that the POJO model in
the EJB 3.0 architecture was well suited to its needs and chose to develop
on Java EE 5. The main components of its development environment
are the GlassFish application server, PostgreSqL database, and the
Apache Lucene search engine. HMDC used the Sun Java Studio Creator
application development tool to get started with JavaServer Faces
application development and NetBeans release 5.5 as its main IDE for
development in EJB 3.0 software and integration of the JavaServer Faces
components with the EJB architecture. It also adapted its JavaServer Faces
application pages to use Shale Tiles and adapted Shale Tiles to work with
the JavaServer Faces 1.2 platform.
This case study of HMDC’s experience in getting started in the Java EE
5 environment is geared to developers who are starting or considering
moving to Java EE 5. It includes a demo of the HMDC application and
illustrates the code that is driving it. Code samples include end-to-
end JavaServer Faces/EJB technology interactions, modeling entity
relationships with persistence annotations, Java technology-based code
for persistence of entities involving many-to-many and other types of
relationships, session facades for entities, and extended persistence
contexts with stateful session beans. The session shows how HMDC uses
JavaServer Faces technology to build a rich client interface, including the
use of cascading style sheets in its JavaServer Faces application pages. It
also presents sample code integrating its JavaServer Faces 1.2 application
pages with Shale Tiles and code demonstrating its use of the Apache
Lucene search engine.
>>
Te
ch
n
ic
al
S
es
si
o
n
s
:
Tr
ac
k
4
|
Ja
va
E
E
n
n
n
n
n
n
n
n
n