JBu ilder. Building WAP-enabled Applications with JBuilder and Inprise Application Server. Introduction
|
|
- Mildred Chase
- 5 years ago
- Views:
Transcription
1 Building WAP-enabled Applications with JBuilder and Inprise Application Server Introduction This document demonstrates how to provide WAP access into an enterprise application, in this case using EJB in the business logic layer. The intent is to demonstrate how WAP clients can be developed with JBuilder to provide another client presentation layer onto existing or new enterprise applications. Fig 1. The portfolio screen from the example application. Adding WAP clients as an additional presentation layer into enterprise applications. by Giles Davies, Inprise/Borland UK Table of Contents Introduction 1 Summary 2 WAP Overview 3 The WAP Application 4 Resources 11 Appendix 12 JBu ilder
2 Glossary Acronym DTD EJB HTML HTTP IAS IP JSP JWS MIME SSL TCP UDP URL WAP WML WSP WTLS WTP XML Summary Description Document Type Definition Enterprise JavaBean Hyper Text Markup Language Hyper Text Transfer Protocol Inprise Application Server Internet Protocol Java Server Page Java Web Server Multi-purpose Internet Mail Extensions Secure Socket Layer Transmission Control Protocol User Datagram Protocol Uniform Resource Locator Wireless Application Protocol Wireless Markup Language Wireless Session Protocol Wireless Transport Layer Security Wireless Transport Protocol extended Markup Language architects, and business managers need to provide WAP access into their enterprise applications to compete effectively. WAP presents several opportunities: A new channel for existing services. The scope for an entirely new set of services that capitalize on the mobile paradigm. Access to a much larger user base This document demonstrates the building of an enterprise application, based around a fictional bank, which offers financial services to its customers via a variety of interfaces, from the native desktop applications of its employees, to both Web- and WAP-based access. In the process, it is intended to show that WAP is another presentation layer, and that a well designed system, with the business logic layers separated from the presentation layers, can incorporate a WAP interface without needing to reengineer the business logic. The WAP client places a number of restrictions on the developer, primarily concerning the limited display characteristics of today s devices. Being aware of these issues is important in deciding what services can be made available. It is projected that by the end of 2002, there will be as many people accessing the Internet by handheld devices as by desktop computers. Beyond 2002, the numbers of people accessing the Internet by handheld devices will increase dramatically, and start to put desktop access in the minority. For many people, their first, and perhaps only, meaningful interaction with the Internet may be via handheld devices, such as mobile phones, PDAs, or their successors. This document will briefly overview WAP as a technology, before walking through writing the example application, using Java servlets built using Borland JBuilder 3.5. WAP Overview What is WAP? WAP is therefore going to be an increasingly important means of delivering services to end users. Developers, 2 WAP is the Wireless Application Protocol. It is an open standard designed to allow users of mobile/handheld
3 devices to gain access to the Internet as easily as they can make telephone calls, send SMS messages, and so on. There are limitations with the current range of WAP devices. As we shall see, going to the Internet via a WAP device is a different experience from accessing the Internet via a traditional Web browser on a desktop computer. Nevertheless, there are great possibilities for services via WAP. Layer WAP Web Application Layer Wireless Application HTML, Scripting languages Environment (WML and WMLScript) Transport Layer WSP, WTP, WTLS and WDP HTTP, SSL, TCP, UDP Network Layer Bearer IP Who s behind WAP? WAP is the product of the WAP Forum ( an association founded in 1997 by Ericsson, Motorola, Nokia, and Phone.com (formerly Unwired Planet). The WAP Forum now has over 200 members and represents over 95 percent of the global handset market. The primary goal of the WAP Forum is to bring together companies from all segments of the wireless industry value chain to ensure product interoperability and growth of wireless market. In addition to these protocols, there are some additional elements required by WAP, including: A microbrowser. Used by the WAP device to render the WML and/or WMLScript to the user. A WAP Gateway. This can provide integration and routing facilities. When a WAP device is used, the user enters a URL into the device s microbrowser by either using a bookmark or typing the URL, as with Web browsers. This URL may be routed via a WAP Gateway, which can then either return WML from the target URL or, if appropriate, pass HTML through an HTML filter to return WML to the WAP device. WAP Device WAP Target Host WAP Architecture URL Gateway URL WAP consists of a number of protocols, which are analogous to the protocols required by normal HTTP WML (Compiled) WML HTML Web communication. HTML Filter 3
4 WML also has a few, more fundamental structural Fig 2. High-level overview of WAP communication. A frequently asked question is whether a WAP Gateway is necessary. A WAP Gateway essentially allows full integration into a Service Provider s facilities, which could include: Personalization services, such as online customization of the user s bookmarks, which are then updated on the WAP device. Integration into enterprise services such as or security. It is not therefore a requirement that a WAP Gateway be used, as WML can be accessed from the WAP device directly from a normal Web server. Note that it may be necessary to set up the WAP MIME types in the Web server, which will be covered later in this document. differences from HTML, reflecting the different environment that the microbrowsers operate in; namely, a WAP device s screen is small and typically monochrome. These differences, in conjunction with a download capability of 9600 kbps, provides a solution by WML that is of a deck of cards. The basic concept, is that a number of screens worth of data (the cards) are downloaded together in one file (the deck). This helps overcome issues of network latency that might otherwise impose relatively lengthy delays for each small screen s worth of WML. Navigation between cards and decks is achieved using <href> hyperlinks, as with HTML. As well as having the cards, it is also possible to provide a template in the deck, which can be used to provide one or more options on every card. A typical example is to provide a back option so that the user can return to the previous screen. WML The Wireless Markup Language is XML-based, defined in an XML DTD. For example, the DTD for WML 1.1 is WML supports text, images, user input, option lists, hyperlink navigation, and unicode. The good news is that WML is very like HTML. Many of the tags are the same, and familiarity with HTML enables fast learning of WML. Card Card Fig 3. WML s deck of cards. Card Card Card Card Template The WAP Application The bad news is that WML is very like HTML similar enough to be familiar, but with sufficient differences to be initially frustrating! For example, all tags must be completed, something that is less strictly enforced in HTML. Similarly, all tags must be in lower case, rather than in the mixture of cases that HTML permits. Objectives This sample application is designed to: 1. Illustrate WAP functionality. 2. Demonstrate how WAP clients can access enterprise services. 4
5 3. Demonstrate that WAP clients can be added as just another presentation layer into applications. Scenario Two EJBs were written; a Container Managed Persistence Entity Bean representing an account, and a Stateful Session Bean representing processes available to a customer, in this case supporting account balance queries and stock portfolio updates. For this example, the supposed scenario is as follows: MBank, a hypothetical bank, wants to allow their customers to: view their account balances, and view the current stock values in their portfolio via either the Web or from a WAP device. For these purposes, the back end business logic is provided via EJBs hosted in Inprise Application Server 4.0 (IAS 4), and access into the EJBs is achieved via a presentation server layer of servlets run in Java Web Server, as supplied with IAS 4. These EJBs were built using JBuilder 3.5 following these steps for each EJB: 1. Create the EJB using the EJB wizard. 2. Add the methods required into the bean class itself. 3. Run the EJB Interfaces wizard to generate the Home and Remote Interfaces as well as the XML EJB Deployment Descriptor. 4. Complete the EJB Deployment Descriptor. 5. Package the EJB(s) into a JAR file using the Deployment Wizard. 6. Deploy the JAR file to the EJB container using the EJB Deployment Wizard. For a full breakdown of the steps required in writing EJBs using JBuilder 3.5, see: der/jbuilderejb.htm. Develop the HTML servlet The next step is to develop the HTML servlet in order to provide Web-based access into the application. Fig. 4. Schematic diagram of the example application. Develop the business logic The framework for the servlet was first generated using the JBuilder servlet wizard. This was used to create a servlet class called AccountSummary that extends HttpServlet and implements the doget() method. The first step is to develop the business logic that actually represents the customer s accounts and portfolio. In this example, this layer is kept deliberately simple in order to concentrate on the presentation layers. 5
6 This generates the following class: package example.mbank.gui; import javax.servlet.*; import javax.servlet.http.*; import java.io.*; import java.util.*; public class AccountSummary extends HttpServlet //Initialize global variables public void init(servletconfig config) throws ServletException super.init(config); //Process the HTTP Get request public void doget(httpservletrequest request, HttpServletResponse response) throws ServletException, IOException PrintWriter out = new PrintWriter (response.getoutputstream()); response.setcontenttype("text/html"); out.println("<font COLOR=GREEN>"); out.println("the servlet has received a GET. This is AppCenter is a visual tool that allows you to define the reply."); the complex relationships between the many out.println("</font>"); components that make up your distributed out.close(); application.monitor the operation and status of your application, The generated code in the doget() method now needs to be replaced with our implementation. The first step is for the servlet to find the home interface for the cashier session bean, and obtain a reference to the EJB Object, in order to invoke the relevant methods available on the remote interface. // Obtain the initial JNDI context javax.naming.context initialcontext = new javax.naming.initialcontext(); // Get the object by name from the initial context Object objref = initialcontext.lookup("examples/mbank/cashier"); // Narrow the reference to the home object CashierHome home = (CashierHome) javax.rmi.portableremoteobject.narrow(objref, CashierHome.class); // Obtain a reference to the EJB Object Cashier cashier = home.create(); Once a reference to the EJB object is available, the servlet simply queries the cashier for the account balances and portfolio values, and incorporates that data into the HTML being returned in the output stream. In this servlet, the account balances and the portfolio are displayed inside an HTML table, with the time that the data is correct displayed at the top. The first lines of code set the background color to black and the text to white, as well as displaying the time: out.println("<body bgcolor=\"#000000\" text=\"#ffffff\">"); out.println("<p><font face=\"comic Sans MS\" size=\"6\">mbank Account Summary</font></p>"); out.println("<p><font face=\"comic Sans MS\">All information is correct as at "+datestring+"</font></p>"); AppCenter out.println("<p><font monitors these face=\"comic applications Sans by MS\" providing: size=\"5\"><b>account a repository for application Balances:</b></font></p>"); configuration and 6
7 Next, a table is created with the account balances obtained from the Cashier EJB: // Account balances table out.println("<table width=\"75%\" border=\"1\">"); out.println("<tr>"); With the method implemented the servlet can be tested inside JBuilder by running the AccountSummary.shtml file created by the servlet wizard: Fig. 6. Running the HTML servlet in JBuilder out.println("<td><font face=\"comic Sans MS\">Account</font></td>"); out.println("<td><font face=\"comic Sans MS\">Balance</font></td>"); out.println("</tr>"); out.println("<tr>"); out.println("<td>current</td>"); out.println("<td>"+curbalance+"</td>"); out.println("</tr>"); out.println("<tr>"); out.println("<td>savings</td>"); out.println("<td>"+savingsbalance+"</td>"); out.println("</tr>"); out.println("</table>"); The next part of the method iterates through the portfolio HashMap, adding each stock into a new row of the second HTML table: Develop the WML Servlet The WML servlet is very similar to the HTML servlet. WAP uses HTTP, so the WML servlet can extend the HttpServlet class just as the HTML servlet does. Iterator keys = portfolio.keyset().iterator(); while (keys.hasnext()) String key = (String) keys.next(); String value = (String) portfolio.get(key); out.println("<tr>"); out.println("<td>"+key+"</td>"); out.println("<td>"+value+"</td>"); out.println("</tr>"); The first step in writing the WML servlet is to use the JBuilder servlet wizard to create the class and the stubs for any methods to be used. The WML servlet class in this example is called wmlservlet, and, for clarity, only implements the doget() method. Exactly as with the HTML servlet, a reference to the EJB object needs to be obtained, so that the relevant methods can be called to populate the WML with data. All the following code has been located inside the doget() method. Since this servlet is going to be returning WML, it is important to set the MIME type for the response to WML: 7
8 response.setcontenttype("text/vnd.wap.wml"); Fig. 7. Association of an action with the WAP device button This alerts the browser to the type of content being returned, so that it can treat it in the most appropriate way in this case to treat it as WML. In order to form the WML correctly, the next step is to declare the XML type and DTD: out.println("<?xml version=\"1.0\"?>"); out.println("<!doctype wml PUBLIC \"- //WAPFORUM//DTD WML 1.1//EN\" \" The WML document itself can now be started using the <wml> tag: out.println("<wml>"); (deck of card goes here) out.println("</wml>"); Next, the deck of cards needs to be created. The first, but optional, step here is to include a template section: out.println("<template>"); out.println("<do type='prev' label='back'>"); out.println("<prev/>"); out.println("</do>"); out.println("</template>"); The <do> tag allows the association of specific actions with the command buttons on the WAP device. The above template uses the <do> tag with the known type of prev, which the microbrowser uses to take the user back to the previous screen. The label attribute is simply a text string, and is placed above the relevant button on Now the cards in the deck need to be written. Each card is of the format: out.println("<card id='cardid' title='cardtitle'>"); out.println("some text etc"); The <card> tag requires a unique id and a display title. The unique id is used in referencing the card for a link, as we shall see later. Note that any text to be displayed needs to be enclosed inside a <p> </p> tag. The first card in this deck is: out.println("<card id='welcome' title='main Menu'>"); out.println("welcome to<br/>"); out.println("mbank.<br/>"); out.println("the time is now:<br/>"); out.println(datestring + "<br/>"); out.println("<a href='#accounts'>accounts</a><br/>"); out.println("<a href='#portfolio'>portfolio</a><br/>"); the device, as shown below: 8
9 Which looks like this: Fig. 9. The accounts card Here, the account balances, which have been retrieved Fig. 8. The welcome card from the deck. Fig. 8. The welcome card from the deck There are a few points to note here: 1. Notice that even though the card above contains only six lines, the user still has to scroll down to the links to the other cards! 2. Data, in this case simply the current time, can be concatenated into the WML string, just as with HTML servlets. 3. There are two links, the syntax of which is the same as using HTML anchors, but these refer instead to other cards in the same deck. The other two cards in the deck are very similar. The accounts card is written in this way: out.println("<card id='accounts' title='accounts'>"); out.println("current Account<br/>"); out.println(curbalance+"<br/>"); out.println("savings Account<br/>"); out.println(savingsbalance+"<br/>"); from the cashier EJB object, are simply returned in the card. The portfolio card uses the same technique as in the HTML servlet, iterating through the portfolio HashMap: out.println("<card id='portfolio' title='portfolio'>"); Iterator keys = portfolio.keyset().iterator(); while (keys.hasnext()) String key = (String) keys.next(); String value = (String) portfolio.get(key); out.println(key+": "+value+"<br/>"); 9
10 The entire source code for the WML servlet can be found in the Appendix to this document. Fig. 10. The portfolio card During the development process JBuilder can be used to run the WML servlet, just as you can with the HTML servlet. The output from the servlet is displayed, which, although not rendered in the same way as via a WAP device, does allow the output from the servlet to be verified: Fig. 11. Running the WML servlet within JBuilder Deploying the servlets The servlets can be now be deployed. In this case the Java Web Server installed with IAS 4 was used. (Note that it is possible to plug in the Web server/servlet/jsp engine of your choice. See for details on using Apache and JServ with IAS 4, as an example.) For JWS the steps are: 1. Copy the servlets into <IAS Install Dir>\classes. This is the default servlet classpath for JWS in IAS Add the servlets to JWS using the web adminstration tool. By default this is available on Select Manage HTTP Web Engine, then select Servlets and Add. For each of the servlets supply a name and the fully qualified class. 3. Add aliases for the servlets (so that they can be called from a link, etc.) Running the application Having deployed the servlets, it s time to try running the servlets. For the HTML servlets a dummy web site was created with a link to the aliased servlet. For the WAP servlet the most effective test harness is to use a WAP emulator. There are several emulators available; the one being used for this document is the Nokia WAP Toolkit, which is available from The Nokia emulator is free of 10
11 charge, but does require that you register. Another free of charge emulator can be found at Using the Nokia WAP Toolkit: Select Go Load Location Enter the URL to the WML servlet alias, e.g.: The servlet will then be loaded and the output displayed in the displayed phone, from which the buttons can be used to navigate the WML. Resources A summary of the links referred to in this document, as well as some additional related links: Borland JBuilder Using JBuilder for EJB development der/jbuilderejb.htm Setting WAP MIME types In the WML servlet, the MIME type is set in the response. However, if you want your Web server to be able to treat all WAP MIME types correctly you may wish to add the following MIME types to your Web server: wml = text/vnd.wap.wml wbmp = image/vnd/wap/wbmp wmlc = application/vnd.wap.wmlscript wmls = text/vnd.wap.wmlscript wmlsc = application/vnd.wap.wmlscriptc Inprise Application Server WAP WAP Emulators Check your Web server s documentation for how to add these MIME types. For JWS, they can be added through the Web Administration interface, then select Manage the Http Web Engine, then select MIME Types, and just type them in as entries in the list. 11
12 Appendix A WML Servlet source package wapexample; import javax.servlet.*; import javax.servlet.http.*; import java.io.*; import java.util.*; import java.text.dateformat; import wapexample.*; public class wmlservlet extends HttpServlet //Initialize global variables public void init(servletconfig config) throws ServletException super.init(config); //Process the HTTP Get request public void doget(httpservletrequest request, HttpServletResponse response) throws ServletException, IOException String curbalance = null; String savingsbalance = null; HashMap portfolio = null; try // Obtain the initial JNDI context javax.naming.context initialcontext = new javax.naming.initialcontext(); // Get the object by name from the initial context Object objref = initialcontext.lookup("examples/mbank/cashier"); 12 // Narrow the reference for RMI/IIOP CashierHome home = (CashierHome) javax.rmi.portableremoteobject.narrow(objref, CashierHome.class); Cashier cashier = home.create(); curbalance = cashier.getcurbalance(); savingsbalance = cashier.getsavebalance(); portfolio = cashier.getportfolio(); catch (Exception ex) System.out.println("Exception: "+ex); PrintWriter out = response.getwriter(); DateFormat timeformat = DateFormat.getTimeInstance(); String datestring = timeformat.format(new Date()); response.setcontenttype("text/vnd.wap.wml"); out.println("<?xml version=\"1.0\"?>"); out.println("<!doctype wml PUBLIC \"- //WAPFORUM//DTD WML 1.1//EN\" \" out.println("<wml>"); out.println("<template>"); out.println("<do type='prev' label='back'>"); out.println("<prev/>"); out.println("</do>"); out.println("</template>"); out.println("<card id='welcome' title='main Menu'>"); out.println("welcome to<br/>"); out.println("mbank.<br/>"); out.println("the time is now:<br/>");the issue is, or course, how do you measure this, and a fair amount of effort was expended in order to make these things out.println(datestring + "<br/>");
13 out.println("<a href='#accounts'>accounts</a><br/>"); out.println("<a href='#portfolio'>portfolio</a><br/>"); out.println("<card id='accounts' title='accounts'>"); out.println("current Account<br/>"); out.println(curbalance+"<br/>"); out.println("savings Account<br/>"); out.println(savingsbalance+"<br/>"); out.println("<card id='portfolio' title='portfolio'>"); Iterator keys = portfolio.keyset().iterator(); while (keys.hasnext()) String key = (String) keys.next(); String value = (String) portfolio.get(key); out.println(key+": "+value+"<br/>"); out.println("</wml>"); 100 Enterprise Way Scotts Valley, CA Fax: Copyright 2001 Inprise Corporation. All rights reserved. All Inprise and Borland brands and product names are trademarks or registered trademarks of Inprise Corporation. Java is a trademark or registered trademark of Sun Microsystems, Inc. in the U.S. and other countries. CORBA is a trademark or registered trademark of Object Management Group, Inc. in the U.S. and other countries
Using Java servlets to generate dynamic WAP content
C H A P T E R 2 4 Using Java servlets to generate dynamic WAP content 24.1 Generating dynamic WAP content 380 24.2 The role of the servlet 381 24.3 Generating output to WAP clients 382 24.4 Invoking a
More informationChapter 3. Technology Adopted. 3.1 Introduction
Chapter 3 Technology Adopted 3.1 Introduction The previous chapter described difference between the propose system and traditional methods and also about the existing similar systems. In this chapter,
More informationWireless Access Protocol(WAP) architecture
Wireless Access Protocol(WAP) architecture While the evolution of cellular networks has resulted in many mobile services, such services are primarily for voice. Mobile phone users do have the desire to
More informationJAVA SERVLET. Server-side Programming INTRODUCTION
JAVA SERVLET Server-side Programming INTRODUCTION 1 AGENDA Introduction Java Servlet Web/Application Server Servlet Life Cycle Web Application Life Cycle Servlet API Writing Servlet Program Summary 2 INTRODUCTION
More informationMobile Station Execution Environment (MExE( MExE) Developing web applications for PDAs and Cellphones. WAP (Wireless Application Protocol)
Developing web applications for PDAs and Cellphones Mobile Station Execution Environment (MExE( MExE) MExE is a standard for defining various levels of wireless communication These levels are called classmarks
More informationJBuilder. Getting Started Guide part II. Preface. Creating your Second Enterprise JavaBean. Container Managed Persistent Bean.
Getting Started Guide part II Creating your Second Enterprise JavaBean Container Managed Persistent Bean by Gerard van der Pol and Michael Faisst, Borland Preface Introduction This document provides an
More informationIntroduction. This course Software Architecture with Java will discuss the following topics:
Introduction This course Software Architecture with Java will discuss the following topics: Java servlets Java Server Pages (JSP s) Java Beans JDBC, connections to RDBMS and SQL XML and XML translations
More informationIntroduction. Literature: Steelman & Murach, Murach s Java Servlets and JSP. Mike Murach & Associates Inc, 2003
Introduction This course Software Architecture with Java will discuss the following topics: Java servlets Java Server Pages (JSP s) Java Beans JDBC, connections to RDBMS and SQL XML and XML translations
More informationDatabase Systems Lab. 11. JSP I 충남대학교컴퓨터공학과 데이타베이스시스템연구실
데이타베이스시스템연구실 Database Systems Lab. 11. JSP I 충남대학교컴퓨터공학과 데이타베이스시스템연구실 Overview http://www.tutorialspoint.com/jsp/index.htm What is JavaServer Pages? JavaServer Pages (JSP) is a server-side programming
More informationsessionx Desarrollo de Aplicaciones en Red A few more words about CGI CGI Servlet & JSP José Rafael Rojano Cáceres
sessionx Desarrollo de Aplicaciones en Red José Rafael Rojano Cáceres http://www.uv.mx/rrojano A few more words about Common Gateway Interface 1 2 CGI So originally CGI purpose was to let communicate a
More informationC-Gate Server Application CGI User s Guide CG Series
C-Gate Server Application CGI User s Guide 5000 CG Series Table of Contents Section...Page 1.0 Introduction... 4 1.1 Scope... 4 1.1 Referenced Documents... 4 1.3 Acronyms and Abbreviations... 4 1.4 Presentation
More informationAdvanced Internet Technology Lab # 4 Servlets
Faculty of Engineering Computer Engineering Department Islamic University of Gaza 2011 Advanced Internet Technology Lab # 4 Servlets Eng. Doaa Abu Jabal Advanced Internet Technology Lab # 4 Servlets Objective:
More informationWAP. Bringing the internet to you. Cynthia Luk Marianne Morris Harvey Wong. 4 April, 2002 CMPUT 499
WAP Bringing the internet to you Cynthia Luk Marianne Morris Harvey Wong 4 April, 2002 CMPUT 499 Table of Contents Summary 3 Introduction... 4 What is (WAP)? WAP 2.0 Motivation for WAP WAP Architecture..
More informationServlets1. What are Servlets? Where are they? Their job. Servlet container. Only Http?
What are Servlets? Servlets1 Fatemeh Abbasinejad abbasine@cs.ucdavis.edu A program that runs on a web server acting as middle layer between requests coming from a web browser and databases or applications
More informationAdvanced Topics in Operating Systems. Manual for Lab Practices. Enterprise JavaBeans
University of New York, Tirana M.Sc. Computer Science Advanced Topics in Operating Systems Manual for Lab Practices Enterprise JavaBeans PART III A Web Banking Application with EJB and MySQL Development
More informationJava Enterprise Edition. Java EE Oct Dec 2016 EFREI/M1 Jacques André Augustin Page 1
Java Enterprise Edition Java EE Oct Dec 2016 EFREI/M1 Jacques André Augustin Page 1 Java Beans Java EE Oct Dec 2016 EFREI/M1 Jacques André Augustin Page 2 Java Bean POJO class : private Attributes public
More informationDistributed Multitiered Application
Distributed Multitiered Application Java EE platform uses a distributed multitiered application model for enterprise applications. Logic is divided into components https://docs.oracle.com/javaee/7/tutorial/overview004.htm
More informationServlet Basics. Agenda
Servlet Basics 1 Agenda The basic structure of servlets A simple servlet that generates plain text A servlet that generates HTML Servlets and packages Some utilities that help build HTML The servlet life
More informationGlossary. ADO.NET ActiveX Data Objects for.net. A set of data access technologies included in the.net Framework class libraries.
308 Glossary Glossary 1G Developed in the 70s and 80s, the first generation (1G) wireless communications technology refers to the analog cellular technology. Popular 1G technology includes AMPS. 2G The
More informationWeb based Applications, Tomcat and Servlets - Lab 3 -
CMPUT 391 Database Management Systems Web based Applications, - - CMPUT 391 Database Management Systems Department of Computing Science University of Alberta The Basic Web Server CMPUT 391 Database Management
More informationSession 8. Introduction to Servlets. Semester Project
Session 8 Introduction to Servlets 1 Semester Project Reverse engineer a version of the Oracle site You will be validating form fields with Ajax calls to a server You will use multiple formats for the
More informationM.SARAVANA KARTHIKEYAN
PERVASIVE COMPUTING Unit II Part A 1. What is XML? XML stands for EXtensible Markup Language XML is a markup language much like HTML XML was designed to carry data, not to display data XML tags are not
More informationSession 9. Introduction to Servlets. Lecture Objectives
Session 9 Introduction to Servlets Lecture Objectives Understand the foundations for client/server Web interactions Understand the servlet life cycle 2 10/11/2018 1 Reading & Reference Reading Use the
More informationGRAPHICAL SIMULATION OF WIRELESS APPLICATION PROTOCOL
International Journal of Computer Networking, Wireless and Mobile Communications (IJCNWMC) Vol.1, Issue 2 Dec 2011 42-58 TJPRC Pvt. Ltd., GRAPHICAL SIMULATION OF WIRELESS APPLICATION PROTOCOL Asst. Prof.
More informationVision of J2EE. Why J2EE? Need for. J2EE Suite. J2EE Based Distributed Application Architecture Overview. Umair Javed 1
Umair Javed 2004 J2EE Based Distributed Application Architecture Overview Lecture - 2 Distributed Software Systems Development Why J2EE? Vision of J2EE An open standard Umbrella for anything Java-related
More informationWAP Overview. Ric Howell, Chief Technology Officer, Concise Group Ltd.
WAP Overview Ric Howell, Chief Technology Officer, Concise Group Ltd. WAP (the Wireless Application Protocol) is a protocol for accessing information and services from wireless devices. WAP is defined
More informationWireless Internet: layers 3,4,5. Wireless Internet: Layers 3,4,5 Case Study: WAP. WAP: Wireless Application Protocol
W.int.3-2 Wireless Internet: layers 3,4,5 Wireless Internet: Layers 3,4,5 Case Study: WAP Module W.int.3.WAP Dr.M.Y.Wu@CSE Shanghai Jiaotong University Shanghai, China Dr.W.Shu@ECE University of New Mexico
More informationJavaServer Pages (JSP)
JavaServer Pages (JSP) The Context The Presentation Layer of a Web App the graphical (web) user interface frequent design changes usually, dynamically generated HTML pages Should we use servlets? No difficult
More informationOutline. CS5984 Mobile Computing HTTP. HTTP (especially 1.0) Problems 1/2. Dr. Ayman Abdel-Hamid, CS5984. Wireless Web.
CS5984 Mobile Computing Dr. Ayman Abdel-Hamid Computer Science Department Virginia Tech Outline HTTP HTTP 1.0 problems Approaches to help wireless access HTTP 1.1 enhancements System Architecture for Web
More informationINTRODUCTION TO SERVLETS AND WEB CONTAINERS. Actions in Accord with All the Laws of Nature
INTRODUCTION TO SERVLETS AND WEB CONTAINERS Actions in Accord with All the Laws of Nature Web server vs web container Most commercial web applications use Apache proven architecture and free license. Tomcat
More informationWIRELESS APPLICATION PROTOCOL (WAP)
WIRELESS APPLICATION PROTOCOL (WAP) PRESENTED BY: D.R.Esesve III/IV B.Tech ECE. VITAM COLLEGE OF ENGINEERING. DRESESVE@YAHOO.COM VITAM COLLEGE OF ENGG. PARVATHIPURAM. URL: members.rediff.com/dresesve/wap.html
More informationJBuilder EJB. Development Using JBuilder 4 and Inprise Application Server 4.1. Audience. A Step-by-step Tutorial.
EJB Development Using JBuilder 4 and Inprise Application Server 4.1 A Step-by-step Tutorial by Todd Spurling, Systems Engineer, Inprise Audience Evaluators or new developers to EJB using JBuilder 4 and
More informationweb.xml Deployment Descriptor Elements
APPENDIX A web.xml Deployment Descriptor s The following sections describe the deployment descriptor elements defined in the web.xml schema under the root element . With Java EE annotations, the
More informationStateless -Session Bean
Stateless -Session Bean Prepared by: A.Saleem Raja MCA.,M.Phil.,(M.Tech) Lecturer/MCA Chettinad College of Engineering and Technology-Karur E-Mail: asaleemrajasec@gmail.com Creating an Enterprise Application
More informationBorland Application Server Certification. Study Guide. Version 1.0 Copyright 2001 Borland Software Corporation. All Rights Reserved.
Borland Application Server Certification Study Guide Version 1.0 Copyright 2001 Borland Software Corporation. All Rights Reserved. Introduction This study guide is designed to walk you through requisite
More informationIntroduction to Servlets. After which you will doget it
Introduction to Servlets After which you will doget it Servlet technology A Java servlet is a Java program that extends the capabilities of a server. Although servlets can respond to any types of requests,
More informationUNIT III. Variables: This element supports the following attributes: Attribute Value Description. name string Sets the name of the variable
UNIT III : Variables Other Content you can Include Controls Miscellaneous Markup Sending Information Application Security Other Data: The Meta Element Document Type- Declarations Errors and Browser Limitations
More informationIntroduction. This course Software Architecture with Java will discuss the following topics:
Introduction This course Software Architecture with Java will discuss the following topics: Java servlets Java Server Pages (JSP s) Java Beans JDBC, connections to RDBMS and SQL XML and XML translations
More informationNetBeans IDE Field Guide
NetBeans IDE Field Guide Copyright 2005 Sun Microsystems, Inc. All rights reserved. Table of Contents Extending Web Applications with Business Logic: Introducing EJB Components...1 EJB Project type Wizards...2
More informationLab session Google Application Engine - GAE. Navid Nikaein
Lab session Google Application Engine - GAE Navid Nikaein Available projects Project Company contact Mobile Financial Services Innovation TIC Vasco Mendès Bluetooth low energy Application on Smart Phone
More informationBlackBerry Browser Version 3.2. Technical Reference Guide
BlackBerry Browser Version 3.2 Technical Reference Guide BlackBerry Browser Version 3.2 Technical Reference Guide Last revised: 12 March 2002 Part number: PDF-04623-001 At the time of printing, this documentation
More informationWHITE LABELING IN PROGRESS ROLLBASE PRIVATE CLOUD
W HI TEPAPER www. p rogres s.com WHITE LABELING IN PROGRESS ROLLBASE PRIVATE CLOUD In this whitepaper, we describe how to white label Progress Rollbase private cloud with your brand name by following a
More informationEnterprise Java and Rational Rose - Part II
Enterprise Java and Rational Rose - Part II by Khawar Ahmed Technical Marketing Engineer Rational Software Loïc Julien Software Engineer Rational Software This is the second installment of a twopart series
More informationTo follow the Deitel publishing program, sign-up now for the DEITEL BUZZ ON-
Ordering Information: Advanced Java 2 Platform How to Program View the complete Table of Contents Read the Preface Download the Code Examples To view all the Deitel products and services available, visit
More informationPage 1. WAP Overview. An overview of the. Wireless Application Protocol to the IAB. Copyright IBM 2000
Page 1 An overview of the Wireless Application Protocol to the IAB. Page 2 Introduction Request for Information WAP enabled GSM Phone Response Application Server WAP enabled PDAs Mobile device with wireless
More informationThe team that wrote this redbook
Preface p. xix The team that wrote this redbook p. xix Comments welcome p. xxiii Overview of WebSphere Application Server V3.5 p. 1 What is WebSphere Application Server? p. 1 WebSphere Application Server
More informationAdvanced Java Programming
Advanced Java Programming Length: 4 days Description: This course presents several advanced topics of the Java programming language, including Servlets, Object Serialization and Enterprise JavaBeans. In
More informationUNIVERSITY EXAMINATIONS: NOV/DEC 2011 REGULATION PERVASIVE COMPUTING PART A
UNIVERSITY EXAMINATIONS: NOV/DEC 2011 REGULATION 2008 080250049-PERVASIVE COMPUTING PART A 1. Mention the characteristics of pervasive computing. Minimal user distraction Collaborative interaction User
More informationBuilding Web Applications With The Struts Framework
Building Web Applications With The Struts Framework ApacheCon 2003 Session TU23 11/18 17:00-18:00 Craig R. McClanahan Senior Staff Engineer Sun Microsystems, Inc. Slides: http://www.apache.org/~craigmcc/
More informationCOURSE DETAILS: CORE AND ADVANCE JAVA Core Java
COURSE DETAILS: CORE AND ADVANCE JAVA Core Java 1. Object Oriented Concept Object Oriented Programming & its Concepts Classes and Objects Aggregation and Composition Static and Dynamic Binding Abstract
More informationCS433 Technology Overview
CS433 Technology Overview Scott Selikoff Cornell University November 13, 2002 Outline I. Introduction II. Stored Procedures III. Java Beans IV. JSPs/Servlets V. JSPs vs. Servlets VI. XML Introduction VII.
More informationServlets by Example. Joe Howse 7 June 2011
Servlets by Example Joe Howse 7 June 2011 What is a servlet? A servlet is a Java application that receives HTTP requests as input and generates HTTP responses as output. As the name implies, it runs on
More information1 Introduction and Roadmap
Oracle Fusion Middleware Monitoring and Managing With the Java EE Management APIs for Oracle WebLogic Server 11g Release 1 (10.3.6) E13736-06 November 2011 This document describes the Java EE Management
More informationEnterprise Java Technologies (Part 1 of 3) Component Architecture. Overview of Java EE. Java Servlets
ID2212 Network Programming with Java Lecture 10 Enterprise Java Technologies (Part 1 of 3) Component Architecture. Overview of Java EE. Java Servlets Leif Lindbäck, Vladimir Vlassov KTH/ICT/SCS HT 2015
More informationPSD1B Advance Java Programming Unit : I-V. PSD1B- Advance Java Programming
PSD1B Advance Java Programming Unit : I-V PSD1B- Advance Java Programming 1 UNIT I - SYLLABUS Servlets Client Vs Server Types of Servlets Life Cycle of Servlets Architecture Session Tracking Cookies JDBC
More information1.264 Lecture 15. Web development environments: JavaScript Java applets, servlets Java (J2EE) Active Server Pages
1.264 Lecture 15 Web development environments: JavaScript Java applets, servlets Java (J2EE) Active Server Pages Development environments XML, WSDL are documents SOAP is HTTP extension UDDI is a directory/registry
More informationJavaEE Interview Prep
Java Database Connectivity 1. What is a JDBC driver? A JDBC driver is a Java program / Java API which allows the Java application to establish connection with the database and perform the database related
More informationServletConfig Interface
ServletConfig Interface Author : Rajat Categories : Advance Java An object of ServletConfig is created by the web container for each servlet. This object can be used to get configuration information from
More information4.1 The Life Cycle of a Servlet 4.2 The Java Servlet Development Kit 4.3 The Simple Servlet: Creating and compile servlet source code, start a web
UNIT - 4 Servlet 4.1 The Life Cycle of a Servlet 4.2 The Java Servlet Development Kit 4.3 The Simple Servlet: Creating and compile servlet source code, start a web browser and request the servlet, example
More informationThis tutorial will teach you how to use Java Servlets to develop your web based applications in simple and easy steps.
About the Tutorial Servlets provide a component-based, platform-independent method for building Webbased applications, without the performance limitations of CGI programs. Servlets have access to the entire
More informationPRIMIX SOLUTIONS. Core Labs. Tapestry : Java Web Components Whitepaper
PRIMIX SOLUTIONS Core Labs Tapestry : Java Web s Whitepaper CORE LABS Tapestry: Java Web s Whitepaper Primix Solutions One Arsenal Marketplace Phone (617) 923-6639 Fax (617) 923-5139 Tapestry contact information:
More informationSupplement IV.E: Tutorial for Tomcat For Introduction to Java Programming By Y. Daniel Liang
Supplement IV.E: Tutorial for Tomcat 5.5.9 For Introduction to Java Programming By Y. Daniel Liang This supplement covers the following topics: Obtaining and Installing Tomcat Starting and Stopping Tomcat
More informationBuilding Wireless (WML) Apps With ColdFusion. Why Should You Stay? Why Should You Care? Charlie Arehart. Syste Manage
Building Wireless (WML) Apps With ColdFusion Charlie Arehart Syste Manage Carehart@systemanage.com CFUN2K Conference July 2000 Why Should You Stay?! In this session you ll learn: what wireless apps are
More informationOracle9i Application Server Architecture and Com
Oracle9i Application Server Quick Tour: Architecture Page 1 de 7 Oracle9i Application Server Architecture and Com Standard Edition Enterprise Edition Wireless Edition Services and Components To provide
More informationWIRELESS APPLICATION PROTOCOL
A Seminar report On WIRELESS APPLICATION PROTOCOL Submitted in partial fulfillment of the requirement for the award of degree of Bachelor of Technology in Computer Science SUBMITTED TO: www.studymafia.org
More informationPOSTER SESSION. Wireless Cardiology Decision Support System. Proceedings Paper. Slide Presentation. Dr. Saji Salam SSI Technologies Chennai, India
Proceedings Paper Slide Presentation Handouts Case Study POSTER SESSION Wireless Cardiology Decision Support System 16 Dr. Saji Salam SSI Technologies Chennai, India Anand Subramanian Software Solutions
More informationUsing the JBoss IDE for Eclipse
Using the JBoss IDE for Eclipse Important: Some combinations of JBoss/JBoss-IDE/Eclipse do not like to work with each other. Be very careful about making sure all the software versions are compatible.
More informationChapter 2 FEATURES AND FACILITIES. SYS-ED/ Computer Education Techniques, Inc.
Chapter 2 FEATURES AND FACILITIES SYS-ED/ Computer Education Techniques, Inc. Objectives You will learn: JDeveloper features. Java in the database. Simplified database access. IDE: Integrated Development
More informationWeb Application Architecture (based J2EE 1.4 Tutorial)
Web Application Architecture (based J2EE 1.4 Tutorial) Dr. Kanda Runapongsa (krunapon@kku.ac.th) Department of Computer Engineering Khon Kaen University 1 Agenda Web application, components and container
More informationJava4570: Session Tracking using Cookies *
OpenStax-CNX module: m48571 1 Java4570: Session Tracking using Cookies * R.G. (Dick) Baldwin This work is produced by OpenStax-CNX and licensed under the Creative Commons Attribution License 4.0 Abstract
More informationWelcome To PhillyJUG. 6:30-7:00 pm - Network, eat, find a seat 7:00-7:15 pm - Brief announcements 7:15-8:30 pm - Tom Janofsky's presentation
Welcome To PhillyJUG 6:30-7:00 pm - Network, eat, find a seat 7:00-7:15 pm - Brief announcements 7:15-8:30 pm - Tom Janofsky's presentation Web Development With The Struts API Tom Janofsky Outline Background
More informationCS506 Web Design & Development Final Term Solved MCQs with Reference
with Reference I am student in MCS (Virtual University of Pakistan). All the MCQs are solved by me. I followed the Moaaz pattern in Writing and Layout this document. Because many students are familiar
More informationServlets. An extension of a web server runs inside a servlet container
Servlets What is a servlet? An extension of a web server runs inside a servlet container A Java class derived from the HttpServlet class A controller in webapplications captures requests can forward requests
More informationDeveloping Java EE Management Applications for Oracle WebLogic Server c (12.1.3)
[1]Oracle Fusion Middleware Developing Java EE Management Applications for Oracle WebLogic Server 12.1.3 12c (12.1.3) E41880-04 August 2015 This document describes the Java EE Management APIs for WebLogic
More informationThe Basic Web Server CGI. CGI: Illustration. Web based Applications, Tomcat and Servlets - Lab 3 - CMPUT 391 Database Management Systems 4
CMPUT 391 Database Management Systems The Basic Web based Applications, - - CMPUT 391 Database Management Systems Department of Computing Science University of Alberta CMPUT 391 Database Management Systems
More informationCE212 Web Application Programming Part 3
CE212 Web Application Programming Part 3 30/01/2018 CE212 Part 4 1 Servlets 1 A servlet is a Java program running in a server engine containing methods that respond to requests from browsers by generating
More informationHttpServlet ( Class ) -- we will extend this class to handle GET / PUT HTTP requests
What is the servlet? Servlet is a script, which resides and executes on server side, to create dynamic HTML. In servlet programming we will use java language. A servlet can handle multiple requests concurrently.
More informationDeveloping Mobile Applications
Developing Mobile Applications WAP 1 Organizations 3GPP (3G Partnership Program) IETF (Internet Enginering Task Force) W3C (World Wide Web Consortium) OMA (Open Mobile Aliance) IANA (Internet Assigned
More informationJava Training For Six Weeks
Java Training For Six Weeks Java is a set of several computer software and specifications developed by Sun Microsystems, later acquired by Oracle Corporation that provides a system for developing application
More informationFast Track to Java EE
Java Enterprise Edition is a powerful platform for building web applications. This platform offers all the advantages of developing in Java plus a comprehensive suite of server-side technologies. This
More informationWAP via ORBCOMM. Andrew R Cardoza, Sias Mostert.
SSC00-X-7 WAP via ORBCOMM Andrew R Cardoza, Sias Mostert E-mail: acardoza@ing.sun.ac.za, mostert@eng.sun.ac.za Electronic Systems Laboratory, Department of Electrical and Electronic Engineering, University
More informationWAP Access to SCADA-Typed Database System
WAP Access to SCADA-Typed Database System WAI-LEUNG CHEUNG, YONG YU, YU-FAI FUNG Department of Electrical Engineering, The Hong Kong Polytechnic University HONG KONG Abstract: - This paper discusses the
More informationServlet Fudamentals. Celsina Bignoli
Servlet Fudamentals Celsina Bignoli bignolic@smccd.net What can you build with Servlets? Search Engines E-Commerce Applications Shopping Carts Product Catalogs Intranet Applications Groupware Applications:
More informationCOMP9321 Web Application Engineering
COMP9321 Web Application Engineering Java Server Pages (JSP) Dr. Basem Suleiman Service Oriented Computing Group, CSE, UNSW Australia Semester 1, 2016, Week 3 http://webapps.cse.unsw.edu.au/webcms2/course/index.php?cid=2442
More informationJOURNAL OF OBJECT TECHNOLOGY
JOURNAL OF OBJECT TECHNOLOGY. Published by ETH Zurich, Chair of Software Engineering JOT, 2006 Vol. 5, No. 2, March-April 2006 The JBoss Integration Plug-in for IntelliJ IDEA, Part 3. Douglas Lyon, Fairfield
More informationOracle Fusion Middleware Developing Java EE Management Applications for Oracle WebLogic Server. 12c ( )
Oracle Fusion Middleware Developing Java EE Management Applications for Oracle WebLogic Server 12c (12.2.1.3.0) E80441-01 August 2017 Oracle Fusion Middleware Developing Java EE Management Applications
More information1 Introduction and Roadmap
Oracle Fusion Middleware Monitoring and Managing With the Java EE Management APIs for Oracle WebLogic Server 11g Release 1 (10.3.1) E13736-01 May 2009 This document describes the Java EE Management APIs
More informationIntroduction... xv SECTION 1: DEVELOPING DESKTOP APPLICATIONS USING JAVA Chapter 1: Getting Started with Java... 1
Introduction... xv SECTION 1: DEVELOPING DESKTOP APPLICATIONS USING JAVA Chapter 1: Getting Started with Java... 1 Introducing Object Oriented Programming... 2 Explaining OOP concepts... 2 Objects...3
More informationProblems in Scaling an Application Client
J2EE What now? At this point, you understand how to design servers and how to design clients Where do you draw the line? What are issues in complex enterprise platform? How many servers? How many forms
More information3. The pool should be added now. You can start Weblogic server and see if there s any error message.
CS 342 Software Engineering Lab: Weblogic server (w/ database pools) setup, Servlet, XMLC warming up Professor: David Wolber (wolber@usfca.edu), TA: Samson Yingfeng Su (ysu@cs.usfca.edu) Setup Weblogic
More informationOverview p. 1 Server-side Component Architectures p. 3 The Need for a Server-Side Component Architecture p. 4 Server-Side Component Architecture
Preface p. xix About the Author p. xxii Introduction p. xxiii Overview p. 1 Server-side Component Architectures p. 3 The Need for a Server-Side Component Architecture p. 4 Server-Side Component Architecture
More informationUsing ASP to generate dynamic WAP content
C H A P T E R 1 9 Using ASP to generate dynamic WAP content 19.1 Introduction 303 19.2 Creating a dynamic WAP application 304 19.3 Testing using WAP emulators 305 19.4 Sending and retrieving data 309 19.5
More informationJava Card 3 Platform. Peter Allenbach Sun Microsystems, Inc.
Java Card 3 Platform Peter Allenbach Sun Microsystems, Inc. Agenda From plastic to Java Card 3.0 Things to know about Java Card 3.0 Introducing Java Card 3.0 Java Card 3.0 vs. Java SE Java Card 3.0 vs.
More informationSUN Enterprise Development with iplanet Application Server
SUN 310-540 Enterprise Development with iplanet Application Server 6.0 http://killexams.com/exam-detail/310-540 QUESTION: 96 You just created a new J2EE application (EAR) file using iasdt. How do you begin
More information2. Follow the installation directions and install the server on ccc. 3. We will call the root of your installation as $TOMCAT_DIR
Installing a Web Server 1. Install a sample web server, which supports Servlets/JSPs. A light weight web server is Apache Tomcat server. You can get the server from http://tomcat.apache.org/ 2. Follow
More informationCOURSE 9 DESIGN PATTERNS
COURSE 9 DESIGN PATTERNS CONTENT Applications split on levels J2EE Design Patterns APPLICATION SERVERS In the 90 s, systems should be client-server Today, enterprise applications use the multi-tier model
More informationWriting Servlets and JSPs p. 1 Writing a Servlet p. 1 Writing a JSP p. 7 Compiling a Servlet p. 10 Packaging Servlets and JSPs p.
Preface p. xiii Writing Servlets and JSPs p. 1 Writing a Servlet p. 1 Writing a JSP p. 7 Compiling a Servlet p. 10 Packaging Servlets and JSPs p. 11 Creating the Deployment Descriptor p. 14 Deploying Servlets
More informationK L M N O P Q R S T U V W X Y Z
Glossary A B C D E F G H I J K L M N O P Q R S T U V W X Y Z A access control list (ACL) Used to authenticate users and manage access to network services. The WebLogic implementation of ACLs is based on
More informationComponent Based Software Engineering
Component Based Software Engineering Masato Suzuki School of Information Science Japan Advanced Institute of Science and Technology 1 Schedule Mar. 10 13:30-15:00 : 09. Introduction and basic concepts
More informationIn the most general sense, a server is a program that provides information
d524720 Ch01.qxd 5/20/03 8:37 AM Page 9 Chapter 1 Introducing Application Servers In This Chapter Understanding the role of application servers Meeting the J2EE family of technologies Outlining the major
More information