1 / 57

The fastest way to build and deploy J2EE applications

The fastest way to build and deploy J2EE applications. Today’s Agenda. MyDvd.com Demo Preview Corporate Overview Web Development Challenges J2EE Technology Overview JRun Overview Demo Architecture Overview Break Building the Demo Application Q & A Wrap-up and Raffle.

ronald
Download Presentation

The fastest way to build and deploy J2EE applications

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. The fastest way to build and deploy J2EE applications

  2. Today’s Agenda • MyDvd.com Demo Preview • Corporate Overview • Web Development Challenges • J2EE Technology Overview • JRun Overview • Demo Architecture Overview • Break • Building the Demo Application • Q & A • Wrap-up and Raffle

  3. Allaire Corporation Allaire is a leading provider of software products for companies building their business on the Web. • Founded in 1995 • Publicly Traded (ALLR) • Headquartered in Boston • Offices in Europe, Asia, and North America • 650 Employees • $55 million (FY99) • 10,000 Customers • 2,000 Partners • 500,000 Developers

  4. Customer Relations Online Commerce Content Management Business Automation Allaire Customers Online Commerce • Online Stores • B2B Integration • Increased Revenue • Self-Service Systems • Digital Communities • Customer Loyalty • Enterprise Portals • Partner Extranets • Rich Communication • Information Access • Process Automation • Corporate Productivity

  5. Technology Change “Application development today is all about time to market.” -- Giga Information Group Compressed Schedules “Acquiring, retaining and maintaining adequate IT skills is a major problem facing IS organizations today and will continue so for years.” -- Gartner Group Skills Shortage Project Backlog The Internet Challenge

  6. Flexible and Scalable Foundation High Developer Productivity Worldwide Partner Network Broad Adoption and Support The Allaire Difference

  7. Allaire Corporation

  8. MyDvd.com

  9. Enterprise JavaBeans Java Servlets/JavaServer Pages Java Applets/JavaBeans Java Language and Virtual Machine J2EE Brings Standards to Java J2EE Specification • Java 2 Enterprise Edition unites all of the Java APIs under a single, coherent specification • J2EE is supported by all the major Java vendors 1996 1997 1998 1999 2000 2001

  10. The Benefits of J2EE • Java Productivity • Object-oriented language • Component-based development • Built-in memory management • “Write Once, Run Anywhere” • Complete Application Architecture • Page-based Programming (JSP/Servlets) • Business Transactions (EJB) • Application Integration (JMS) • Widely Supported Standard • Allaire, BEA, Bull, IBM, Inprise, Oracle, Software AG, Sun, Sybase, etc. • Enables interoperability among platforms

  11. Client-Side Presentation Enterprise Information System Browser Pure HTML Java Applet WAP Java Application Other Device J2EE Client Client Tier Data Tier J2EE Application Architecture Server-Side Business Logic Server-Side Presentation Web Server EJB Container EJB JSP JSP EJB Java Servlet EJB J2EE Platform Middle Tier

  12. JSP: Power to the People • Allows web developers to build sophisticated web applications using Java and HTML together in the same page

  13. JSP Example Source Code <HTML> <BODY> <% for(int i=0;i<5;i++) { %> <%=i%>is my number<BR> <% } %> </BODY> </HTML>

  14. JSP Lifecycle Request Response Run .java .class .jsp Load .class exists .class already loaded

  15. Servlets Defined • Servlets are Java-based, server- side programs • Extend the functionality of the web server • Built from standards-based Application Programming Interface (API) • Easy to learn for developers • Configurable, dynamic, & reloadable • “Write once, Deploy anywhere”

  16. Servlet Features • Scalable and “multi-threaded” • Protocol and platform independent • Access to all server and request/ response data • Built-in session management & session persistence • Utilize all built-in features of Java including: • Database connectivity • Email and web connectivity • CORBA

  17. Enterprise JavaBeans (EJB) • Server-side component model allowing developers to concentrate on business logic • EJB server handles complexity of lower level services • Component life cycle • State management • Persistence • Multi-threading • EJB API guarantees components to be portable across EJB Servers • Connection pooling • Transaction management • Security

  18. A powerful and easy-to-use J2EE application server and integrated development environment

  19. JRun Studio 3.0 & Kawa IDEs for JSP, servlets & EJB Integrated debugging DB development tools Project management JRun Server 3.0 Java application server Built on Java 2 platform Supports JSP, Servlets, EJB, messaging and transactions What is JRun? A powerful and easy-to-use Java Application Server and IDE for rapid development and deployment of reliable, scalable, and secure server-side Java applications

  20. JRun Server 3.0 Ease of Use Flexibility • Clean Design • JSP Custom Tag Library • JRun Management Console • Interactive Debugger • Unified Install • Key-Based Edition Upgrading • Modular Architecture • Use What You Need • Compact Footprint Power • Full Transaction Server • Full Messaging Server • Complete Implementation Performance • Server Clustering • In-Process Architecture

  21. JRun Studio 3.0 Visual IDE for JSP/Servlets • Support for JSP, Java, JavaScript, WML, and HTML • Visual database tools • Web application wizards • Interactive debugging • Project management • Remote development • Built-in support for JTL Rapid development for JavaServer Pages and Java servlets

  22. Kawa Code-centric IDE for Java Development • Support for Java classes, Servlets, EJB • EJB wizards • Interactive debugging • Supports multiple app server deployments Code centric development for Java servlets and EJB

  23. Server-Side Business Logic HTTP Client Server-Side Presentation Enterprise Data Source Web Server EJB Server EJB JSP Servlets JSP Pages EJB EJB HTML Content Client Tier Middle Tier Data Tier JRun Application Architecture

  24. Productivity - Developer Focused • Easy to install, configure and deploy • JDBC drivers in the box • Clean design • Flexible architecture • Powerful visual tools

  25. Ease of Use - Custom Tag Library • Compliant with JSP 1.1 tag extension spec. • Encapsulates common tasks including: • Data queries • Transactions • Asynchronous message sending/receiving • Email processing • XML transformations • JNDI resource-lookups • Easier to Use • Faster Time to Market • Increases Productivity

  26. Application and server authentication Roles based authorization Supports custom authentication mechanisms such as LDAP Security

  27. JRUN Sever JRUN Cluster 1 3 2 4 Database Scalability - Load Balancing Users • Add capacity on the fly • Handle unexpected growth

  28. JRUN Cluster 1 3 2 4 4 Reliability - Failover Users • Handle server downtime without site downtime • Never miss a visitor Database

  29. JRUN Cluster Add to Cart Checkout 1 3 2 4 Availability - State Repository Users A B C User A state User B state User C state • Maintain state in failover and load balancing situations • Provide continuous services

  30. Java Transaction API 1.0 Specification Implementation Fully Distributed Transactions Integrated In- Process Architecture Local Transactions Customizable Resources JTA Fully Accessible via JNDI Java Messaging Service 1.0 Specification Implementation Integrated In-Process Architecture Point-to-Point Messaging Publish/Subscribe Messaging Customizable Message Queues and Topics Power - EJB, Transactions & Messaging

  31. Remote server administration and configuration Browser based UI for web access across platforms Manage connections to web servers, JDBC datasources and JVMs Compile, deploy, edit and remove apps Administration - JRun Management Console

  32. Comprehensive Platform Support • Windows 95/98/NT/2000, Solaris, Red Hat Linux, HP-UX, Compaq Tru64, IBM AIX, SGI IRIX Operating Systems • Integration with Leading Databases • Out of the box JDBC driver support for MS SQL Server, Oracle, Informix and Sybase Databases • Web Server Connectors • MS IIS, MS Personal Web Server, Netscape Enterprise Server, Netscape FastTrack, iPlanet Server, Apache, O’Reilly, & Zeus Web Servers Flexibility

  33. Performance analysis via JRun instrumentation mechanism Extensive logging, debugging and error messaging capabilities Identify bottlenecks and optimize application performance Set administrator alarm notifications Monitoring and Debugging

  34. Technology Change Compressed Schedules Skills Shortage Project Backlog Meeting the Internet Challenge Industry Standards Productivity Empowerment Usability

  35. Coffee Break Rest, Relax, Demo to follow

  36. MyDVD.com Demo

  37. MyDvd.com Architecture Catalog.jsp DvdDetail.jsp AddItem.jsp Logon.htm LogonServlet ShoppingCart.jsp Purchase.jsp LogonError.htm

  38. User Authentication Username/ Password Application Security Session Creation Logon Servlet Catalog.jsp DvdDetail.jsp AddItem.jsp Logon.htm LogonServlet ShoppingCart.jsp Purchase.jsp LogonError.htm

  39. MyDvd.com Architecture Catalog.jsp DvdDetail.jsp AddItem.jsp Logon.htm LogonServlet ShoppingCart.jsp Purchase.jsp LogonError.htm

  40. Catalog JSP Connects and retrieves DVD listing info from dB using JRun tag library (JTL) Code: <jrun:sql datasrc="dvd" id="dvdsql"> SELECT title, price, dvd_id FROM DBA.dvd order by title asc </jrun:sql> Catalog.jsp DVD DVD Database

  41. MyDvd.com Architecture Catalog.jsp DvdDetail.jsp AddItem.jsp Logon.htm LogonServlet ShoppingCart.jsp Purchase.jsp LogonError.htm

  42. DVD Detail JSP Connects and retrieves DVD detail info from dB based on dvd selected from catalog page Code: <jrun:sql datasrc="dvd" id="dvdsql"> SELECT description, boxshot, title, category FROM DBA.dvd where dvd_id = <jrun:sqlparam value="<%=dvdid%>" sqltype="INTEGER"/> </jrun:sql> DvdDetail.jsp DVD Database

  43. MyDvd.com Architecture DvdDetail.jsp Catalog.jsp AddItem.jsp Logon.htm LogonServlet ShoppingCart.jsp Purchase.jsp LogonError.htm

  44. Add Item JSP Calls ShoppingCart EJB which adds dvd to cart table Code: <% String user = (String) session.getAttribute("user"); int dvdid = Integer.valueOf( request.getParameter("dvdid")).intValue(); try { javax.naming.InitialContext ctx = new javax.naming.InitialContext(p); ShoppingCartHome home = (ShoppingCartHome) ctx.lookup("ShoppingCart"); ShoppingCart cart = home.create( ); cart.addItem(user,dvdid); AddItem.jsp DVD Shopping Cart Bean DVD Database

  45. MyDvd.com Architecture DvdDetail.jsp Catalog.jsp AddItem.jsp Logon.htm LogonServlet ShoppingCart.jsp Purchase.jsp LogonError.htm

  46. Shopping Cart JSP Connects and retrieves cart detail info from dB based on user Code: <% String user = (String) session.getAttribute("user"); %> <%--Connect to DB and create SQL statement--%> <jrun:sql datasrc="dvd" id="cartsql"> SELECT title, description, price FROM cart, dvd WHERE ( cart.dvd_id = dvd.dvd_id ) and cart.cust_id = <jrun:sqlparam value="%=user%" sqltype="VARCHAR"/> </jrun:sql> ShoppingCart.jsp DVD Database

  47. MyDvd.com Architecture DvdDetail.jsp Catalog.jsp AddItem.jsp Logon.htm LogonServlet ShoppingCart.jsp Purchase.jsp LogonError.htm

  48. Purchase JSP Calls ShoppingCart EJB - purchase method- which creates a new order and deletes entry in cart table Code: <% String user = (String) session.getAttribute("user"); int dvdid = Integer.valueOf( request.getParameter("dvdid")).intValue(); try { javax.naming.InitialContext ctx = new javax.naming.InitialContext(p); ShoppingCartHome home = (ShoppingCartHome) ctx.lookup("ShoppingCart"); ShoppingCart cart = home.create( ); cart.Purchase(user); Purchase.jsp Shopping Cart Bean DVD Database

  49. Summary, Q&A and Wrap-up

  50. General Motors Smart Money LionBridge Mitre FedEx Lucent Agency.com US Surgical Hewlett Packard FAO Schwartz First Union Bank Bank of America Bass Hotels Siemens Commerce One Intel Cisco Documentum Macromedia Ericsson Nokia Motorola FinancialEngines.com Market First EMC GE Plastics Free Markets Broad Customer Adoption • Used by more than 100,000 developers • More than 25,000 JRun servers sold • More than 150,000 downloads of JRun 3.0

More Related