Starting with Java EE
      was never easier

      Kaloyan Raev
      WTP PMC Member
      SAP Labs Bulgaria




1
Typical Java EE application design

                                        Servlet, JSP
                     Presentation...
One possible implementation

                                         JSF Pages
                   JSF                    ...
The Eclipse Pave project

      Frameworks for building patterns


       Definition
       Pattern – a frequently execut...
Let’s start!
       Download Eclipse IDE for Java EE Developers
       Add Eclipse Pave plug-ins


       Configure Jav...
Eclipse IDE for Java EE Developers




6
Add Eclipse Pave plug-ins

     Download
      http://eclipse.org/pave/downloads.php


     Installation tutorial
      ...
Model for the Demo application




8
High-level architecture

                                            uses
                     Pave UI

                  ...
Pattern action sequence




10
Why the WTP Data Model Framework?

       Features
          Data Models provide an intelligent mechanism for data colle...
Data Model Operations in WTP

       Over 200 Data Model Operations in WTP
          More in adopter’s products
       ...
Features

       Framework
          Descriptive declaration of patterns – in plugin.xml
          Patterns are context...
Short-term plan

        Submit project proposal.
        Construct web site with documentation and tutorials.
        Cre...
Future outlook

       Graduate to mature project – version 1.0
           Become part of the Common Discovery Site
    ...
Links


       http://eclipse.org/pave


       http://wiki.eclipse.org/Pave




16
Upcoming SlideShare
Loading in …5
×

Starting with Java EE was never easier

5,441 views

Published on

Java EE beginners typically find difficulties with starting with some simple, but meaningful application. The standard Java EE application consists of persistence layer, business logic, and nice-looking UI. This means that learning of several specifications like JPA, EJB, Servlet, JSP, JSF, etc is needed. It is hard to achieve basic understanding quickly. It takes days before beginners can construct this technology stack correctly on their own.

There are lots of best practices and patterns already established in the Java EE development. It would be really helpful if we have them implemented as wizards in the IDE. Most of the needed operations are already there: for creating projects, beans, JSPs, etc. We just need the glue to assemble them in complete scenarios and unload beginners from the burden to find the correct order and parameters of the actions by themselves. Here comes the new Eclipse Pave project that has started its incubation recently. The initial contribution comes with a couple of patterns that enable developers to start playing with a complete Java EE application in a minute.

However, the scope of the Eclipse Pave project is not limited to just Java EE. The project goal is to provide a framework that enables chaining of already existing operations in scenarios that a frequently executed by users. Especially, scenarios that have been established as best practices - we call them patterns. The second part of the talk we will take an overview of the Pave framework and what power it gives to plug-in developers to easily construct their own patterns by reusing the big variety of operations and wizard pages that are already defined in Eclipse.

Note: This talk does not pretend to demonstrate any new features from the Galileo release, although some of them could be pointed in the context of demonstrations. This main goal of this talk is unveil what's cooking in the incubator at the moment. The demonstrated features are planned to be part of the 2010 (Helios) release.

Published in: Technology, Education
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
5,441
On SlideShare
0
From Embeds
0
Number of Embeds
36
Actions
Shares
0
Downloads
112
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

Starting with Java EE was never easier

  1. 1. Starting with Java EE was never easier Kaloyan Raev WTP PMC Member SAP Labs Bulgaria 1
  2. 2. Typical Java EE application design Servlet, JSP Presentation JSF EJB, JTA Business Logic JMS, JNDI Persistency JPA, JDBC Problem: Too many technologies! Where to start from? 2
  3. 3. One possible implementation JSF Pages JSF MBeans Session Bean EJB CRUD Façade JPA JPA Entities Solution: Follow well-established patterns! 3
  4. 4. The Eclipse Pave project  Frameworks for building patterns Definition Pattern – a frequently executed sequence of operations that transforms the state of the workspace in an error proof way by following well-established conventions. 4
  5. 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 5
  6. 6. Eclipse IDE for Java EE Developers 6
  7. 7. Add Eclipse Pave plug-ins Download  http://eclipse.org/pave/downloads.php Installation tutorial  http://eclipse.org/pave/install.php 7
  8. 8. Model for the Demo application 8
  9. 9. High-level architecture uses Pave UI extends Pave Core WTP Commons extends WTP Data Model Framework UI uses WTP Data Model Framework Core 9
  10. 10. Pattern action sequence 10
  11. 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 11
  12. 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 12
  13. 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 13
  14. 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. 14
  15. 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 15
  16. 16. Links  http://eclipse.org/pave  http://wiki.eclipse.org/Pave 16

×