Starting with Java EE was never easier
-
Upload
kaloyan-raev -
Category
Technology
-
view
4.487 -
download
2
description
Transcript of Starting with Java EE was never easier
1
Starting with Java EE was never easier
Kaloyan RaevWTP PMC MemberSAP Labs Bulgaria
2
Typical Java EE application design
Presentation
Business Logic
Persistency
Servlet, JSPJSF
EJB, JTAJMS, JNDI
JPA, JDBC
Problem: Too many technologies! Where to start from?
3
One possible implementation
JSF
EJB
JPA
JSF PagesMBeans
Session Bean CRUD Façade
JPA Entities
Solution: Follow well-established patterns!
4
The Eclipse Pave project
Frameworks for building patterns
DefinitionPattern – a frequently executed sequence of operations that transforms the state of the workspace in an error proof way by following well-established conventions.
5
Let’s start!
Download Eclipse IDE for Java EE Developers Add Eclipse Pave plug-ins
Configure Java EE application server (e.g. GlassFish) Configure Database (e.g. Derby)
Tutorial - EclipseLink/Derby/Glassfish
7
Add Eclipse Pave plug-ins
Download http://eclipse.org/pave/downloads.php
Installation tutorial http://eclipse.org/pave/install.php
8
Model for the Demo application
9
WTP Commons
High-level architecture
Pave Core
Pave UI
WTP Data Model Framework Core
WTP Data Model Framework UI
exte
nds
exte
nds
uses
uses
11
Why the WTP Data Model Framework?
Features Data Models provide an intelligent mechanism for data collection Data Model Operations simplify operation execution Data Model Wizards simplify wizard generation and extension
Extensible framework Widely adopted in WTP
12
Data Model Operations in WTP
Over 200 Data Model Operations in WTP More in adopter’s products
Use cases Creation of project and artifacts Import and Export Refactoring and Update Migration
13
Features
Framework Descriptive declaration of patterns – in plugin.xml Patterns are context sensitive Default UI entry point for patterns – the Apply Pattern wizards Patterns are extensible Synchronizers for Data Models Headless execution of patterns
Exemplary patterns Session CRUD Façade CRUD Application
14
Short-term plan
Submit project proposal. Construct web site with documentation and tutorials. Creation review. Prepare project infrastructure. Initial contribution and IP review. Release of version 0.5.
Release of version 0.7. This release includes changes in response to the community feedback.
Consider move to Eclipse WTP Commons, Eclipse Tools or Eclipse Platform and commit a Move review.
15
Future outlook
Graduate to mature project – version 1.0 Become part of the Common Discovery Site Become part of the Simultaneous Release Train
Expand data binding mechanisms JFace data binding EMF
More cool features Re-apply pattern Undo pattern
16
Links
http://eclipse.org/pave
http://wiki.eclipse.org/Pave