! Introduction to J2EE (2) - EJB, Web Services J2EE iseminar.. 1544-3355 ( ) iseminar Chat. 1
Who Are We? Business Solutions Consultant Oracle Application Server 10g Business Solutions Consultant Oracle10g 2
J2EE iseminar Series Agenda Day 1 J2EE Servlet JSP (JavaServer Pages) Day 2 Enterprise JavaBean Web Services J2EE 3
Enterprise JavaBeans EJB EJB Entity bean Session bean Message driven bean 4
Entity Beans Persistent: Container-Managed Persistence (CMP) Bean-Managed Persistence (BMP) 5
Session Beans, session bean: Stateless, Stateful, 6
Message Driven Beans JMS stateless, asynchronous bean, JMS 7
EJB Container EJB J2EE EJB Container Client Interfaces Home EJB Bean EJB Bean J2EE Server 8
Interface Access EJB Container Remote Client Application Remote Interfaces Home EJB Bean EJB Bean Local Interfaces Home Local Client Application 9
EJB / EJB Home interface Remote interface Bean class Other classes WAR WAR JAR JAR Deployment descriptor EJB-JAR JAR EAR EJB-JAR JAR war war J2EE Container EJB Container EJB Container 10
XML/SOAP - HTML 11
/EJB JMS PL/SQL HTML SOAP EJBs / 12
J2EE J2EE J2EE Web services J2EE 1.4 JAX-RPC, JAXR, JAXB, JAXP, JSR109 J2EE Packaging, transactions, security, lifecycle Web Services Component Model Transactions and Security Connectivity Lifecycle Services J2EE Container 13
D E M O N S T R A T I O N EJB 14
EJB EJB EJB Persistence J2EE 15
J2EE iseminar Series Agenda Day 1 J2EE Servlet JSP (JavaServer Pages) Day 2 Enterprise JavaBean Web Services J2EE 16
Java IDE 1999 2000 2001 2002 2003 2004 2005 2006 Source: Gartner 17
: ( ) ( ) ( ) Model-View-Controller (MVC) 18
MVC Display Controller routing User Interface Model Data and Transactions Submit Page View User Interface Model Model Events Controller View Request Data Model state encapsulation 19
Model (1) Business Services (Persistence) Validation View Controller Model Business Services : Enterprise JavaBeans (EJB) (ADF ) TopLink Web services Java Classes 20
Model (2) Business Service Business Service Business Service,, drag & drop 21
D E M O N S T R A T I O N Building Models 22
The View concept Controller UI View Model UI (, PDA, ) 23
View Technologies JSP JavaServer Faces Swing Wireless 24
Controller Controller? View Model request response Model View 25
J2EE Apache Struts Apache Software Foundation http://jakarta.apache.org/struts (XML ) JSP model 2 ADF JavaServer Faces 26
Struts Page Flow Modeling 27
Struts Configuration struts-config.xml (abstractions) <?XML version = '1.0'?> <struts-config> </struts-config> 28
D E M O N S T R A T I O N Building Page Flows and JSP Pages 29
Summary MVC Visual Declarative (ADF) J2EE best practice 30
J2EE iseminar Series Agenda Day 1 J2EE Servlet JSP (JavaServer Pages) Day 2 Enterprise JavaBean Web Services J2EE 31
What s Next 32
Best Practices for J2EE Development EJB MVC Struts Tuning and Debugging J2EE 33
For More Information http://launch.oracle.com PIN: 7505395, http://java.sun.com/blueprints http://jakarta.apache.org/struts Struts http://otn.oracle.com/products/jdev documentation Discussion forum 34
Q U E S T I O N S A N S W E R S 35
otn.oracle.com, otn.oracle.co.kr Join Over 3,000,000 Developers! Free Technical Advice Free Software Downloads otn.oracle.com/tech/java, otn.oracle.co.kr/tech/java 36