Advantage Gen & Java: Deployment & Testing with Open Source By Tim Russell

Slides:



Advertisements
Similar presentations
1 Copyright © 2005, Oracle. All rights reserved. Introducing the Java and Oracle Platforms.
Advertisements

WEB SERVICES. FIRST AND FOREMOST - LINKS Tomcat AXIS2 -
6/2/2015Page 1 SOA Development and Deployment B. Ramamurthy.
DT228/3 Web Development Introduction to Java Server Pages (JSP)
1 CENTER FOR PARALLEL COMPUTERS An Introduction to Globus Toolkit® 3 -Developing Interoperable Grid services.
WebSphere Diego Leone. Summary Story and birth What is WebSphere?/Goals Main features Advantages/Disadvantages Conclusions.
G O B E Y O N D C O N V E N T I O N WORF: Developing DB2 UDB based Web Services on a Websphere Application Server Kris Van Thillo, ABIS Training & Consulting.
NetBeans IDE Tal Maoz Na’ama Zahavi.
Object-Oriented Enterprise Application Development Tomcat 3.2 Configuration Last Updated: 03/30/2001.
Sapana Mehta (CS-6V81) Overview Of J2EE & JBoss Sapana Mehta.
Outline IS400: Development of Business Applications on the Internet Fall 2004 Instructor: Dr. Boris Jukic Server Side Web Technologies: Part 2.
1 Build a Web Application on J2EE. 2 J2EE Scenario Client – Web Server – EIS Resources Client – Web Server – EIS Resources Client – Application Server.
Java Programming, 3e Concepts and Techniques Chapter 1 An Introduction to Java and Program Design.
J2EE Java 2 Enterprise Edition. Relevant Topics in The Java Tutorial Topic Web Page JDBC orial/jdbc
Creating a.war file W(eb) AR(chive). Creating a.war file The following article may contain actual software programs in source code form. This source code.
Session-01. What is a Servlet? Servlet can be described in many ways, depending on the context: 1.Servlet is a technology i.e. used to create web application.
Web Applications Basics. Introduction to Web Web features Clent/Server HTTP HyperText Markup Language URL addresses Web server - a computer program that.
CS 160: Software Engineering August 27 Class Meeting Department of Computer Science San Jose State University Fall 2014 Instructor: Ron Mak
1 Java Server Programming zLecture 1 focuses on: yIntroduction to web services y Web Services using Axis y The bigger Picture: Introduction to J2EE y Java.
L EC. 01: J AVA FUNDAMENTALS Fall Java Programming.
Apache Jakarta Tomcat Suh, Junho. Road Map Tomcat Overview Tomcat Overview History History What is Tomcat? What is Tomcat? Servlet Container.
NetBeans IDE Vishnuvardhan.M Dept. of Computer Science - SSBN.
Intro to Servlets Lec 26. Web-Based Enterprise Applications in Java Figure shows a simplified view of one application and its layers.
Talend 5.4 Architecture Adam Pemble Talend Professional Services.
Java Programming, 2E Introductory Concepts and Techniques Chapter 1 An Introduction to Java and Program Design.
Chapter 10 EJB Concepts of EJB Three Components in Creating an EJB Starting/Stopping J2EE Server and Deployment Tool Installation and Configuration of.
Introduction to the JBoss Presented by: Hao Shi. Agenda Application Servers What is JBoss JBoss features Architecture of JBoss Installation and running.
M. Taimoor Khan * Java Server Pages (JSP) is a server-side programming technology that enables the creation of dynamic,
Robert Clevenger Principal Product Manager Oracle Corporation.
Servlets Environment Setup. Agenda:  Setting up Java Development Kit  Setting up Web Server: Tomcat  Setting up CLASSPATH.
©2007 · Georges Merx and Ronald J. NormanSlide 1 Chapter 11 Reality Check: Java Programming in the Real World.
CSCI 224 Introduction to Java Programming. Course Objectives  Learn the Java programming language: Syntax, Idioms Patterns, Styles  Become comfortable.
Lesley Bross, August 29, 2010 ArcGIS 10 add-in glossary.
© 2005 by IBM; made available under the EPL v1.0 | March 1, 2005 Tim deBoer Gorkem Ercan Extend WTP Server Tools for your.
Java Servlets CS-422. Application Mapping Your servlet application will be mapped to a directory structure: –“myapp” maps to some directory C:/docs/apps/myapp.
SchwartzGBIF Nodes III29 April 2003 DiGIR Portal Installation And Configuration.
COP 4991 Component Based Software Development Lecture #4 Java Web Services Onyeka Ezenwoye.
CS441 CURRENT TOPICS IN PROGRAMMING LANGUAGES LECTURE 5_1 George Koutsogiannakis/ Summer
Guidelines for Homework 6. Getting Started Homework 6 requires that you complete Homework 5. –All of HW5 must run on the GridFarm. –HW6 may run elsewhere.
Introduction to J2EE Architecture Portions by Kunal Mehta.
JBoss at Work JAW Motors Application Chapter 1-3 Jeff Schmitt October 9, 2006.
|Tecnologie Web L-A Anno Accademico Laboratorio di Tecnologie Web Introduzione ad Eclipse e Tomcat
第十四章 J2EE 入门 Introduction What is J2EE ?
J2EE Structure & Definitions Catie Welsh CSE 432
® IBM Software Group © 2007 IBM Corporation J2EE Web Component Introduction
Contents 1.Introduction, architecture 2.Live demonstration 3.Extensibility.
1 Geospatial and Business Intelligence Jean-Sébastien Turcotte Executive VP San Francisco - April 2007 Streamlining web mapping applications.
Session 1 Introduction to Java. Objectives Java Simplified / Session 1 / 2 of 32 Explain the history of Java Explain Java in brief List the types of Java.
National Taiwan University Department of Computer Science and Information Engineering National Taiwan University Department of Computer Science and Information.
Apache Jakarta Project. What is Jakarta’s mission Jakarta is a Project of the Apache Software Foundation, charged with the creation and maintenance of.
Understanding StarTeam Enterprise Advantage Course #4124.
© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 JSP Application Models.
Introduction to EJB. What is an EJB ?  An enterprise java bean is a server-side component that encapsulates the business logic of an application. By.
Modern Programming Language. Web Container & Web Applications Web applications are server side applications The most essential requirement.
Java Programming: Advanced Topics1 Introduction to Advanced Java Programming Chapter 1.
NJIT 1 Apache Tomcat (Version 6.0) THETOPPERSWAY.COM.
Java Programming: Advanced Topics 1 Building Web Applications Chapter 13.
© 2009 by IBM; made available under the EPL v1.0 | Feb 1, 2009 Seneca 2009 Tim deBoer Gorkem Ercan Extend WTP Server Tools.
Copyright 2007, Information Builders. Slide 1 iWay Web Services and WebFOCUS Consumption Michael Florkowski Information Builders.
Topics to be covered (ni) Client side validation JSF (free tools as well) Webservices Tell Resources e.g. sites Packaging and deploying web applications.
Java Programming, 3e Concepts and Techniques Chapter 1 Section 56 – An Introduction to Java.
Chapter 13 Web Application Infrastructure
WebSphere Diego Leone.
Introduction to Advanced Java Programming
Introduction to J2EE Architecture
Unit 6-Chapter 2 Struts.
MSIS 655 Advanced Business Applications Programming
J2EE Application Development
ESIS Consulting LLC (C) ESIS Consulting LLC. All rights reserved
Presentation transcript:

Advantage Gen & Java: Deployment & Testing with Open Source By Tim Russell

Introduction Background – ( Self, This presentation) Really came out of self study / “need to know” / Proof-of- concept (e.g. what were JBoss/Tomcat/Apache) Goal was to complete the TUTORIAL, but.. Found out that using “Getting Started” was a good idea to validate the Environment Lead to going sequentially through most of the “layers” of AdvGen and Java Deployment.

What about the Audience? How Many Have worked with: Gen Proxies: Java? COM? XML? Apache (or Tomcat)? Jboss? Web Services and Apache Axis? What level of interest in this TODAY?

Agenda Open Source Java (Server) Software (Tomcat/JBoss/Axis) Setting up the PC Dev/Test Environment “Gen”ing and testing the Java Proxy Installing JBoss The generated code Deployment (ear,war,jar,jsp) Jboss/Tomcat vs. Tomcat Standalone DEMONSTRATION AdvGen & Web Services (optional)

What is Open Source? Why is it of Interest? Apache “The Apache Software Foundation provides support for the Apache community of open-source software projects. The Apache projects are characterized by a collaborative, consensus based development process, an open and pragmatic software license, and a desire to create high quality software that leads the way in its field. We consider ourselves not simply a group of projects sharing a server, but rather a community of developers and users.”

What is Open Source? (Continued) Jakarta The Jakarta Project creates and maintains open source solutions on the Java platform for distribution to the public at no charge. Tomcat Tomcat is the servlet container that is used in the official Reference Implementation for the Java Servlet and JavaServer Pages technologies. The Java Servlet and JavaServer Pages specifications are developed by Sun under the Java Community Process. Tomcat 4.x implements a new servlet container (called Catalina) that is based on completely new architecture. The 4.x releases implement the Servlet 2.3 and JSP 1.2 specifications.

What is Open Source? (Continued 2) JBoss/Server is the leading Open Source, standards- compliant, J2EE based application server implemented in 100% Pure Java: JBoss was started in 1999 as an open source EJB container. JBoss 2.x was a full J2EE based server. JBoss 3.x. is the current production series. JBoss is a full framework for you to build your own applications. It is based on a full microkernel (JMX) and service oriented architecture (SOA). JBoss 4.x. Research. JBoss is exploring aspect oriented middleware (AOM) and java based middleware independent of J2EE. Released as free software under the terms of the GNU Library or Lesser General Public License (LGPL).

What is Open Source? (Continued 3) There are many more Projects; here are just a few: Mozilla.org The Mozilla project promotes choice and innovation on the Internet by developing the open source Mozilla web and applications suite. FireFox The Browser, Reloaded - an award winning preview of next generation browsing technology. Firefox empowers you to accomplish your online activities faster, more safely and efficiently than any other browser, period. Built with Tab browsing, popup blocking and a number of other seamless innovations, Firefox stands out ahead. jEdit.org : jEdit - Open Source programmer's text editor Useful, e.g to edit Java; released as free software under the terms of the GNU General Public License. eclipse.org : full Java IDE, including testing.

Building a Local Development & Test Environment Gen Stuff Advantage Gen PC Toolset (v 6.5) + Java Proxy Option Microsoft Visual Studio C++ (6.0) – optional DBMS, e.g IBM UDB PDE (7.2) – optional Java Stuff Java 2 SDK Standard Edition from Sun Microsystems, v (1.3.1_02); a.k.a. “JDK 1.3.1” JBoss Application Server (with Tomcat) – JBoss /Tomcat NB: This is all explained in AdvGen eBooks, Getting Started – Chapter 4

JBoss Installation Download from (drill down to older releases): e.g. JBoss _Tomcat zip 13,691,362 bytes “Un-zip” the software into the following folder hierarchy:..\JBoss _Tomcat-4.0.6\..\catalina\..\bin\ etc...\jboss\..\bin\ etc. There is some documentation, but it is confusing. Start Catalina (standalone) with its “startup.bat” file (well documented). Start JBoss with its “run_with_tomcat.bat” file (un-documented). (modified.bat file available – send )

The generated Java Proxy code (1/3) Consists of the following parts for each procedure step, each generated into its own folder: Abean - An application JavaBean that contains an API for getting/setting the properties for the procedure step. These properties are a direct mapping of the import/export views. mainUI - A Java test application (including a UI) that uses the application bean API. It can be loaded via Java runtime execution or from an application debug driver. Its purpose is to test the bean API and provide a model of how the API can be used.

The generated Java Proxy code (2/3) client - An applet JavaBean that contains an API for getting/setting the properties for the procedure step. These properties are a direct mapping of the import/export views. There is no user interface (see clientUI). This is an alternative to the Abean. servlet - The server side piece of the Java equation. Its purpose is to provide the communications bridge between the client Bean and the Advantage Gen server. clientUI - A test applet (UI) that uses the applet bean API ("client"). It can be loaded either into a web browser or an applet viewer. Its purpose is to test the bean API and provide a model of how the API can be used. common - A set of Java classes shared by the client Bean and the servlet. These classes represent the import/export views and are needed for the data streaming between the client and the servlet.

The generated Java Proxy code (3/3) JSP - A set of sample Html and JSP pages that can be used to test the application JavaBean. Its purpose is to test the Abean API and provide a model of how the API can be used. XML - Optional. Contains an XML Schema Definition file (XSD) for use within XML data streams, a set of sample XML, and a test application for executing the XML API. All of the above is described in detail in AdvGen eBooks, ActiveX/COM and Java Proxy Guide – Chap. 10 (Java Proxy Interface)

Archive files in the Java World 1/3.jar – Java ARchive file A platform-independent file format enables you to bundle multiple files into a single archive file. Typically a JAR file will contain the class files and auxiliary resources associated with applets and/or applications. JAR files are packaged with the ZIP file format, so you can use them for "ZIP- like" tasks such as lossless data compression, archiving, decompression, and archive unpacking. Because the Java Archive tool is invoked by using the jar command, for convenience we'll call it the "Jar tool". Assuming you have a JDK installed, & included in the PATH, issue the "jar" command to get sample "usage syntax". For more info, see:

Archive files in the Java World 2/3.war - Web Application Resource The Servlet spec. gives it this definition: A single file that contains all of the components of a web application. This archive file is created by using standard JAR tools which allow any or all of the web components to be signed. A Web application is defined as a collection of servlets, JSP pages, HTML documents and other web resources which might include images, files, compressed archives, and other data. “In Sun's vision of web applications, an entire web application can be packaged in a WAR file. You place the war file in the webapps directory of a servlet engine such as Tomcat and restart the engine. Automatically, the engine discovers that there is a war file which does not have a matching directory structure under webapps and unpacks the whole thing. Bang! you are now running the new application. It actually works.” - William Brogden

Archive files in the Java World 3/3.ear - Enterprise ARchive file The file has the same format as a regular.jar file (which is the same as ZIP, incidentally). The.ear file contains everything necessary to deploy an enterprise application on an application server. It contains both the.war (Web Archive) file containing the web component of the application as well as the.jar file. In addition there are some deployment descriptor files in XML.

Let’s Show Something Questions at this point?

Demonstration Assumptions: Cooperative Packaging Use AEF (Transaction Enabler) for GEN server deployment Show Windows Client (“C”) Generate/Install Java Proxy Show Java Test Harness - from Cmd. Line Deploy proxy JSP.ear file to Jboss Show JSP Test Harness - from Browser (optional) Deploy JSP “manually” to Tomcat (running S/A mode)

Advantage Gen & Java: Deployment & Testing with Open Source Questions Thank You for attending! => The End