Web Application Development Using Borland JBuilder 8 and BEA WebLogic Server 7.0

Size: px
Start display at page:

Download "Web Application Development Using Borland JBuilder 8 and BEA WebLogic Server 7.0"

Transcription

1 Web Application Development Using Borland JBuilder 8 and BEA WebLogic Server 7.0 Jumpstart development, deployment, and debugging servlets and JSP A Borland White Paper By Sudhansu Pati, Systems Engineer December 2002

2 Contents Introduction... 3 Working with JSPs... 4 Create a project... 4 Attach WebLogic Server to the current project... 4 Attach WebLogic Server to all the projects... 6 Create a Web application... 6 Create a JSP... 8 Make the project... 9 Deploy and run JSP in WebLogic Server Remote deployment Debug the JSP Working with servlets...19 Optimizing Web applications...21 Optimizeit Code Coverage Optimizeit Profiler Optimizeit Thread Debugger Working with Apache Struts...25 What is Struts? Create a Struts application Deploy and run the Struts application Conclusion...33 Troubleshooting...33 Useful links...39 Feedback and suggestions

3 Introduction Borland JBuilder Enterprise is a comprehensive set of award-winning visual development tools for creating enterprise-scale applications written entirely in the Java programming language for the Java 2 Platform. This paper provides an overview of creating, testing, and debugging Web applications using JBuilder 8 Enterprise and BEA WebLogic Server 7.0 (SP1). The other platforms and software used to create the exercises are Optimizeit Suite 5, Microsoft Windows XP, and Microsoft Internet Explorer 6.0. Please refer to the white paper JBuilder 8 Configuration with J2EE Application Servers for installation and configuration instructions for integrating JBuilder 8 Enterprise with WebLogic Server 7.0 (SP1). JBuilder 8 helps to develop, debug, and test Web applications written with JDK 1.4.1, JSP 1.2 and Servlet 2.3 standards. It also supports older versions of JDK, JSP, and servlets. Followings are the list of Web technologies that can be easily developed, debugged, and tested using JBuilder 8 wizards. Web applications developed with other technologies not mentioned here may also be easily imported to JBuilder 8 and managed. Technology Servlets JavaServer Pages (JSP ) InternetBeans Express Apache Struts Description A server-side Java application which can process requests from clients. An extension of servlet technology. JavaServer Pages use custom tag libraries and essentially offers a simplified way to develop servlets. A set of components and a tag library provided by Borland, used for easier presentation and manipulation of data from a database. An open source tag library provided by the Jakarta Project that is used for building Web applications. Struts provides a flexible control layer based on standard technologies like servlets, JSPs, JavaBeans, ResourceBundles, and XML. 3

4 JavaServer Pages Standard Tag Library (JSTL) Cocoon Applets A tag library provided by Sun that is part of the Java Web Services Development Pack 1.0 (WSDP). It provides a set of tags that allow developers to do common tasks in a standard way. The JSTL consists of four areas, each with its own tag library descriptor (TLD ) and namespace. A servlet-based, Java publishing framework for XML that is integrated into JBuilder. Cocoon allows separation of content, style, and logic and uses XSL transformation to merge them. It can also use logic sheets and Extensible Server Pages (XSP) to deliver dynamic content embedded with program logic written in Java. A specialized kind of Java application that can be downloaded by a client browser and run on the client's machine. Table 1: List of major Web technologies supported by JBuilder 8 Working with JSPs Create a project Start JBuilder 8. Click File -> New -> Select Project tab from the Object Gallery. Click Project. Click OK. In the Project Wizard Step 1 of 3 specify a Directory Name and a Project Name. Leave the Template as (Default Project). Hit Finish. For this exercise, the project directory is E:/DEMO/JBWLS and Project Name is TestWeb. Attach WebLogic Server to the current project You can attach the WebLogic Server to the current project. From the JBuilder main menu bar, click Project -> Project Properties. Click Server tab. Select WebLogic Application Server 7.x from the combo box. See Figure 1 for details. 4

5 Figure 1: Project Properties window allowing users to select application server of choice Note: The Services panel in the left-hand side shows the services provided by the specific server selected in the combo box (in this case, WebLogic Server 7.0 SP1). JBuilder is designed to be intuitive and automatically discovers the services provided by a selected Web/application server. Here, all services other than Connector, Deployment, EJB, and JSP/servlet are grayed out because WebLogic Server 7.x does not provide those services. Note: You can click on each service from the Services panel and see what specific versions of different technologies are supported by the chosen Web/application server. In the above figure, the EJB Service is clicked from the Services panel, and JBuilder is showing the supported EJB versions with WebLogic Application Server 7.x. 5

6 Note: JBuilder provides users the option of choosing one server for all services in the project or multiple servers providing different servers. With modular services provided by different servers, users can configure different services to be run by different servers. For example, users can select Tomcat for JSP/servlet server, WebLogic Server for EJB, and another server for Connector. For simplicity, select Single server for all services in project. Click Deployment from the Services panel. Note that by default, the Build target for deploying to server is Make. If you prefer not to build the archives at the time of deployment, choose <None> from the combo box. This will stop making the project during deployment and make the deployment faster. Hit OK, and JBuilder project TestWeb is now configured for WebLogic Server 7.0. Attach WebLogic Server to all the projects If you decide to use WebLogic Server 7.x for all of your projects, you can set this as default. From JBuilder menu bar click Project -> Default Project Properties. Click Server tab. Select WebLogic Application Server 7.x from the combo box and choose Single server for all services in the project. Create a Web application JBuilder allows users to create a Web application which can host applets, Web Start launchers, JSPs, servlets, and Apache Struts applications. From the JBuilder main menu bar, click File -> New -> Web tab in Object Gallery -> Web Application. Click OK. See Figure 2 for JBuilder 8 Object Gallery. 6

7 Figure 2: JBuilder 8 Object Gallery displaying the wizards to create Web applications The Web Application Wizard pops up. Enter Name and Directory entries for the Web application. For this exercise, the Web application name is TestWebApp and directory is TestWebApp. JBuilder provides an option to choose when the developers would like to build a WAR file. For this exercise, select When building project or webapp. From the JBuilder 8 project tree, expand the project and expand the Web application TestWebApp. Expand the deployment descriptors folder. Note that JBuilder has recognized that the target server is WebLogic, so it automatically created the deployment descriptors for WebLogic; web.xml, and weblogic.xml. Click web.xml. This opens the WebApp Deployment Descriptor Editor in the editor pane. See Figure 3 for details. 7

8 Figure 3: JBuilder 8 Web application Deployment Descriptor Editor Note: The Deployment Descriptor Editor tool in JBuilder provides a graphical user-friendly way to update the web.xml, and it is a two-way tool. It automatically changes the XML source when the Deployment Descriptor Editor is changed. Create a JSP From the JBuilder main menu bar, click File -> New -> Web tab in Object Gallery -> JavaServer Page. Click OK. In JSP Wizard Step 1 of 6, enter a JSP name. For this exercise, the JSP name is TestJSP. Note that the Web application TestWebApp is defaulted for hosting this JSP. You can check both the checkboxes to generate a sample bean and an error page. Click Next. 8

9 In JSP Wizard Step 2 of 6, you can select InternetBeans technology, different tag libraries from JSTL 1.0, and Struts. Leave the defaults and click Next. In JSP Wizard Step 3 of 6, enter the package name as borland.demo.web. Click Next. At this point, you can click Finish. JBuilder automatically creates a runtime configuration named TestJSP to run the created JSP. Note: A runtime configuration is a setup to run an application in JBuilder 8. Runtime configuration is essential when your project has multiple runnable files/applications and you want to run a specific application. Make the project To make the project, press Ctrl+Shift+F9 or click the Make icon from the JBuilder toolbar. JBuilder may show some warnings because of the use of some deprecated methods. To hide the deprecation and warning messages, click Project -> Project Properties -> Build. Uncheck Show warnings and Show deprecations. As a result of make, JBuilder automatically creates the WAR file for the Web application. The WAR file for this exercise is TestWebApp.war. See Figure 4 for details. 9

10 Figure 4: JBuilder showing the generated sources, WAR file, and Deployment Descriptors for WebLogic Deploy and run JSP in WebLogic Server When WebLogic Server is started within JBuilder, it automatically deploys the Web application and runs the JSP in the JBuilder AppBrowser. Figure 5 shows running of TestJSP.jsp within JBuilder. Enter any value in the Text Box next to Enter New Value in the AppBrowser, and the value is designed to be displayed next to Value of Bean Property is. 10

11 Figure 5: WebLogic Server is running within JBuilder and AppBrowser displaying the running JSP Note: JBuilder supports both hot-deployment and auto-deployment with WebLogic. Hot deployment is a feature that allows users to deploy/redeploy archives into Web/application servers and get the contents from the freshly deployed archives without restarting the Web/application server. With auto-deploy, users are not required to create any archives for deployment; they can change the files directly, and the Web/application server automatically activates the changes. By default with JBuilder, the Web application is deployed in exploded format from the project directory (auto-deployment). In this case, the WAR file is not used for deployment. This is the preferred option to work with JSP, since users do not need to redeploy to activate any JSP changes. 11

12 To turn off this behavior and use WARs or EARs, click Project -> Project Properties. Click the Server tab. Click JSP/servlet service in the Services list. On the right, de-select the option Map project webapps at runtime. If you like to see the deployment status in WebLogic console, start the WebLogic console by clicking Tools -> WebLogic 7.0 Admin Console. Expand mydomain -> Deployments -> Web Applications, and you should be able to see the Web application TestWebApp. See Figure 6 for details. Figure 6: WebLogic 7.0 SP1 console displaying the deployed Web application TestWebApp Note: If you do not see WebLogic 7.x Admin Console under JBuilder 8 Tools menu, it is because you have not selected this option during server configuration. Click Tools -> Configure Servers -> Select WebLogic Application Server 7.x from left-hand panel of 12

13 Configure Servers window, click Custom tab from the right-hand panel, and make sure that checkbox against Add a Admin Console item to the Tools menu is checked. Remote deployment This section explains how to deploy an archive to a remote WebLogic Server. Note: The users need to have a local installation of the application server for the remote deployment because JBuilder needs to use the deployment utilities for that application server. For deploying to a remote WebLogic Server 7.x, from JBuilder menubar click Tools -> Enterprise Deployment. A window called WebLogic 7.x Deploy Settings pops up. Modify the Admin url field to point to the remote server with the remote WebLogic Server host name and port number ( number>). See Figure 7 for details. Figure 7: JBuilder remote deployment utility to deploy to remote WebLogic Server 13

14 Debug the JSP JBuilder supports both local and remote debugging of JSP. Local debugging For local JSP debugging, assign breakpoints in the source code wherever necessary. To assign a breakpoint, simply open the source file and single-click the mouse on that line. Note: For this exercise, the breakpoints are assigned as explained in Table 2. File Line # Breakpoints TestJSP.jsp 8 <jsp:usebean id="testjspbeanid" scope="session" class="borland.demo.web.testjspbean" /> TestJSPBean.java 16 Return sample; TestJSPBean.java 21 sample = newvalue; Table 2: Assigning breakpoints in different files If WebLogic is already running, stop the WebLogic Server. Press Shift+F9 or just click the Debug Project icon. Click TestJSP to start WebLogic in debug mode within JBuilder. See Figure 8 for details. Note: When you click Debug Project, JBuilder starts WebLogic Server in debug mode. Now users can do the debug operations from JBuilder, such as seeing the thread information, breakpoint information, console output, step over, step into, step out, etc. Click the Step Over button until you see the debugger stopping at TestJSPBean.java. 14

15 Figure 8: JBuilder debugger has stopped at a breakpoint in JSP. The JSP is running in WebLogic JBuilder is designed to recognize all breakpoints and puts a red tick mark against all valid breakpoints and red cross mark against all non-valid breakpoints. Also, JBuilder puts a green arrow against the breakpoints where the debugger stops. Note: JBuilder debugger has an ability to debug across varieties of applications (JSP, servlets, JavaBeans, and Enterprise Java Beans ). Remote debugging Remote debugging is useful when an application is already hosted in a staging area, and it is required to debug the application from a remote machine. Remote debugging in JBuilder is an implementation of Java Platform Debugger Architecture (JPDA). For more information on JPDA, visit 15

16 A JPDA transport is a form of inter-process communication used by a debugger application process and the virtual machine that is being debugged (often called the target VM). For more information on transport, visit the following link: To test remote debugging for the Web application TestWebApp, you can use your machine as both local machine and remote server. Follow the steps below to remotely debug JSP. Open the project containing the Web application that you wish to debug. Expand the Web application node in the JBuilder project tree. Expand the Deployment Descriptors node (under the Web appnode) and double click weblogic.xml. Change weblogic.xml as shown in Table 3. Weblogic.xml <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE weblogic-web-app PUBLIC "-//BEA Systems, Inc.//DTD Web Application 6.1//EN" " <weblogic-web-app> <jsp-descriptor> <jsp-param> <param-name>keepgenerated</param-name> <param-value>true</param-value> </jsp-param> <jsp-param> <param-name>debug</param-name> <param-value>true</param-value> </jsp-param> <jsp-param> <param-name>precompile</param-name> <param-value>true</param-value> </jsp-param> 16

17 <jsp-param> <param-name>compileflags</param-name> <param-value>-g</param-value> </jsp-param> </jsp-descriptor> </weblogic-web-app> Table 3: weblogic.xml for remote debugging of JSP using JBuilder 8 and WebLogic Server 7.x Rebuild project and deploy the Web application as a WAR file (TestWebApp.war ) to WebLogic Server 7.0. To deploy, right-click the Web application node TestWebApp from JBuilder project tree, click Deploy options for TestWebApp.war and click Redeploy. Launch WebLogic Server 7.x in the remote location with debug parameters. To do this, modify startweblogic.bat in your domain directory (example E:\bea\user_projects\mydomain) and add the following parameters to the JAVA_OPTIONS variable -Xdebug -Xnoagent -Djava.compiler=NONE - Xrunjdwp:transport=dt_socket,server=y,address=5555,suspend=n On the local machine where you wish to debug the JSP, open the project in JBuilder. Set the target server to Tomcat 4.0 (or 3.3) On the local machine, under the source path for the project (normally PROJECT_ROOT/src), create a directory named jsp_servlet. If you need to use a source path other than the default, you can get this setting from the project properties dialog (general tab). On the local machine, copy the JSPs you wish to debug to this directory. In this case, copy TestJSP.jsp. 17

18 On the local machine, open the JSP(s) and set breakpoints where required. On the local machine, click Run Configurations. Click New. Select Type as Application. Click the Debug tab, check the option Enable remote debugging, and select the Attach radio button. Provide a name for this configuration. Let s assume that the configuration name is RemoteDebug. Enter the host name of the remote server in the Host name field, set the Transport type to dt_socket, and set the Address to the value specified in the JAVA_OPTIONS variable in startweblogic.bat file. Set build target to None. Accept all other defaults. Click the Debug button from JBuilder main menu bar and click RemoteDebug. This should open a tab in JBuilder message pane. This process is called attach to the remote server. See Figure 9 for JBuilder message pane showing JBuilder attaching to remote WebLogic Server using socket address Figure 9: JBuilder 8 attaching to a remote WebLogic Server with transport socket address 5555 Using a browser instance, load your JSP. For this exercise, to load the JSP type the URL The debugger is designed to stop at breakpoints in the JSP. After the debugger stops at a breakpoint, the user can perform the debug operations like step out, step over, etc. 18

19 Working with servlets JBuilder provides an easy-to-use wizard to create servlets. Let s create a servlet with in the same project TestWeb and Web application TestWebApp. From the JBuilder main menu bar, click File -> New -> Web tab of Object Gallery -> Servlet. Click OK. In Servlet Wizard Step 1 of 5, find package name borland.web.demo from the Package combo box. Also enter the servlet name as TestServlet. This step allows developers to create a Filter servlet or a Listener servlet. Also a Single Thread Model servlet can be created, just by clicking the checkbox against it. For this exercise, lets create a Standard servlet. Click Next. In Servlet Wizard Step 2 of 5, enter the methods that you want to use in the servlet. You can also generate an SHTML file with the servlet. Note: For this exercise, make sure the checkboxes against methods doget() and dopost() are checked and also Generate SHTML file is checked. Click Next. In Servlet Wizard Step 3 of 5, you can enter the servlet name and URL pattern. Leave the defaults and click Next. In Servlet Wizard Step 4 of 5, you can enter the Servlet Request Parameters. Click Next. Servlet Wizard Step 5 of 5 allows you to create a runtime configuration for the servlet. Click the checkbox Create a Runtime Configuration and leave the default configuration name as TestServlet. At this point, the TestJSP runtime configuration is also created, so you can select TestJSP as the Base Configuration. Click Finish. Make the project. To make the project, click Ctrl +F9 or just click the Make icon from the JBuilder toolbar. 19

20 To deploy and run the servlet, stop WebLogic Server, if it is already running. Click the Run icon from JBuilder toolbar and click TestServlet. Then the AppBrowser automatically runs the servlet with the following URL: See figure 10 for details. You are not required to stop WebLogic Server to deploy and run another Web application. If you prefer to run the servlet with your favorite browser, open your browser and type the following URL: Figure 10: A servlet is running in WebLogic and displaying the contents in JBuilder AppBrowser 20

21 Optimizing Web applications JBuilder 8 Enterprises provides integration with Borland Optimizeit Suite. Optimizeit Suite is a separate product. It is available for purchase and a trial download is available from the Borland Web site. Please visit the following link for downloading the latest version of Optimizeit Suite: Optimizeit Suite includes three different tools (Optimizeit Code Coverage, Optimizeit Profiler, and Optimizeit Thread Debugger). For more information, visit: Optimizeit Code Coverage Optimizeit Code Coverage enables developers to view the execution frequency of each class, method, and line of code, and to reduce application footprint by removing dead code. Optimizeit Profiler Optimizeit Profiler enables developers to maximize application speed and reliability and to quickly isolate critical code that requires performance improvements. Optimizeit Thread Debugger Optimizeit Thread Debugger helps developers to solve mysterious thread issues easily, get the status of all threads and monitors in real time, avoid thread starvation and contentions that lead to crashes, and predict deadlocks before they occur. Note: During Optimizeit Suite installation, the installer automatically detects JBuilder installation from the user s machine and prompts the user for integrating with JBuilder. If the user says OK, then both JBuilder and Optimizeit Suite are configured for tight integration. 21

22 Optimizeit Suite reads the JVMs and helps the developers with profiling, thread optimizing, and code covering their applications. If the JVM runs a Java application, Optimizeit Suite can attach to the application and display the memory, thread, and other information in a userfriendly way, which helps the developers to optimize their applications. Optimizeit Suite is a very flexible tool, and it can attach with various market leading IDEs and application servers. Visit the link to find the supported J2EE application servers, documentation, and other information about Optimizeit Suite. For this case, let s attach Optimizeit Suite with WebLogic Server 7.x. Click the Optimize icon from JBuilder main menu bar and click TestJSP. The Runtime Configuration Properties window pops up and allows users to select one of the three tools (Profiler, Thread Debugger, and Code Coverage). Select Profiler from the combo box and click OK. See Figure 11 for details. Figure 11: Runtime configuration window to choose which Optimizeit Suite tool to use 22

23 Click OK and WebLogic Server 7.x starts within JBuilder 8. Note that Optimizeit Profiler is attached to WebLogic Server 7.x and profiling the real-time JVM information. To run your TestJSP, right-click the JSP. Click WebRun. Click TestJSP. See Figure 12 for details. Figure 12: Optimizeit Profiler attached to WebLogic 7.x within JBuilder 8 To go to the normal WebLogic output window, click the Console output, input and errors icon from the left. Also, you can click Show Virtual Machine information and Show CPU profiler for different operations. The Profiler shows information about all the classes available in the JVM. If you would rather see the information about your application only, type borland* in the Filters text area. This will show you the packages started with borland only. 23

24 To attach Optimizeit Thread Debugger with WebLogic Server 7.x, click Run -> Configurations -> select TestJSP -> Edit -> click Optimize -> Select Thread Debugger from the Type combo box. See Figure 13 for Optimizeit Thread Debugger starting in JBuilder and attaching WebLogic Server 7.x. Figure 13: Optimizeit Thread Debugger started in JBuilder 8 and attached with WebLogic Server 7.x Optimizeit Code Coverage can be started in the similar way. See Figure 14 for Optimizeit Code Coverage tool within JBuilder 8. Figure 14: Optimizeit Code Coverage tool started and attached to WebLogic Server 7.x 24

25 There are lots of features available in Optimizeit Suite that helps detecting critical memory leaks, deadlocks, and performance issues. This paper just explained a snapshot of some of the features of Optimizeit Suite. Please read the Optimizeit Suite product documentation for information about other features of Optimizeit Suite. Working with Apache Struts What is Struts? The Struts open source framework is known as the Model 2, or Model-View Controller, approach to software design. This framework evolved from the Model 1 design, JavaServer Pages technology. This technology offered great advances from pure servlets, where presentation HTML was coded with lengthy out.println statements in doget() and doput() methods. JSPs offer a way to include HTML in Java code and Java code in HTML. However, these JSPs are difficult to read and difficult to maintain, because both Web designers and developers are required to work in the same set of source files. The Struts framework, first developed in 2001, combines the best of servlets and JSPs. The framework consists of a 3-tiered design paradigm: the Controller, Model, and the View. Struts provides its own Controller component and integrates with other technologies to provide the Model and the View. Using the Struts framework is now the preferred way to create robust and long-lived professional Web applications. For learning more about Struts, please visit If you have installed JBuilder 8, you can also get information about Struts from JBuilder Help. Create a Struts application Struts is the next generation Web application development framework. But Struts applications can be difficult to write. A Struts application development cycle is probably two or three times longer than the conventional Web application development cycle. 25

26 But JBuilder makes the Struts application development much easier for the developers. The easier-to-use code wizards of JBuilder can create the Struts infrastructure efficiently and eliminate lot of hand coding. With the help of JBuilder, the developers now can focus on the business aspect of their application rather than framework development and configuration. While JBuilder is capable of creating very complex Struts applications, let s create a simple login application (with Struts implementation) to understand the basic guidelines. Create a New Project in JBuilder 8 and name the project StrutsProject. Note :For this exercise, the location of the project is E:/DEMO/TESTWLS/StrutsProject. Make WebLogic Server 7.x as the target server for this project. Click Project -> Project Properties -> Server tab and make sure that WebLogic Application Server 7.x is selected from the combo box. Create a Web application and enter the Web application Name and Directory as LoginApp. Select Struts 1.0 under JSP/Servlet frameworks in the Web Application Wizard. Click OK. Expand the Web application LoginApp in the JBuilder project tree. Note that strutsconfig.xml is already created for this Struts application. Figure 15 shows the JBuilder Web Application Wizard, which allows the user to choose Struts

27 Figure 15: JBuilder provides wizards to create a Struts Web application Note: JBuilder 8 does not officially support the beta release of Struts 1.1. However, if you enable your struts-config.xml file for Struts 1.1 and download the Struts 1.1.jar file to the <jbuilder>/extras folder, you will see support for Struts 1.1. The Struts Config Editor will display elements and attributes specific to 1.1. Additionally, if your Struts Web application uses a tiles.xml file for presentation, a visual editor for the Tiles configuration file is available. Create two JSPs (login.jsp and message.jsp) using the JBuilder JSP wizard. Note that JSP Wizard Step 2 of 4 allows users to select Struts taglibs. See Figure 16 for details. 27

28 Figure 16: JSP Wizard allows users to select Struts taglibs For this exercise do not select any tag libraries. Edit login.jsp and message.jsp in JBuilder editor and copy the following code: login.jsp <html> <head> <title>login Page</title> </head> <body> Please enter your user name and password <br> <form action="loginaction.do" method=post> <table> 28

29 <tr> <td>user Name:</td> <td><input type=text name=username> </tr> <tr> <td>password:</td> <td><input type=password name=password> </tr> <tr> <td colspan=2 align=right><input type=submit value="login"></td> </tr> </table> </form> </body> </html> Table 4: login.jsp: the primary JSP for this Struts application message.jsp <html> <head> <title> message </title> </head> <body bgcolor="#ffffff"> <h1>login Successful</h1> </body> </html> Table 5: message.jsp: this JSP activates after a successful login 29

30 Note: login.jsp is the primary JSP for this application. It accepts username and password. Message.jsp displays a message to the users after successful login. login.jsp and message.jsp represent the View layer in this Model 2 Struts application. Create a Struts Action using the wizard from JBuilder Object Gallery. From Object Gallery, select Web tab, click Action and click OK. In Action Wizard Step 1 of 2, enter the package name as borland.demo.struts and Action as LoginAction. In Action Wizard Step 2 of 2, click the ellipses against Input JSP and select login.jsp from the pop-up window. Click Finish. The above wizard creates a file called LoginAction.java. Find the file from the JBuilder Project tree and edit is as shown in Table 6. LoginAction.java package borland.demo.struts; import org.apache.struts.action.*; import javax.servlet.http.*; import javax.servlet.requestdispatcher; import java.io.ioexception; import javax.servlet.servletexception; public class LoginAction extends Action { public ActionForward perform(actionmapping actionmapping, ActionForm actionform, HttpServletRequest httpservletrequest, HttpServletResponse httpservletresponse) throws IOException, ServletException { String username = httpservletrequest.getparameter("username"); String password = httpservletrequest.getparameter("password"); System.out.println("Username provided =" + username); System.out.println("Password provided =" + password); if (username!=null && password!=null && 30

31 username.equals("suds") && password.equals("borland")) { return new ActionForward("/message.jsp"); } else { return new ActionForward("/login.jsp"); } return null; } } Table 6: LoginAction.java: implementation of action Note: The LoginAction.java file implements the action which is defined in the login.jsp. Note the following line from login.jsp. <form action="loginaction.do" method=post> The LoginAction gets the username and password parameters, checks the authentication and then commands the RequestDispacher to run either message.jsp (upon successful login) or login.jsp (upon unsuccessful login). For simplicity, the authentication for username is suds and password is borland. The <action-mapping> is available in the struts-config.xml file. Take a look at this file. It demonstrates how the loginaction.do in the login.jsp is mapped to the LoginAction class. The.do is a conventional representation of the URI. Open the web.xml and check for the servlet-mapping for servlet-name action. The url-pattern for action is *.do. Also action is nothing but an instance of the Controller Servlet org.apache.struts.action.actionservlet. struts-config.xml <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.0//EN" " 31

32 <struts-config> <action-mappings> <action type="borland.demo.struts.loginaction" input="/login.jsp" path="/loginaction" /> </action-mappings> </struts-config> Table 7: struts-config.xml Deploy and run the Struts application Now run the project (click F9 or click Run Project icon then login). WebLogic Server 7.x is designed to start within JBuilder and permit you to see the running login.jsp in the AppBrowser. See Figure 17 for details. Figure 17: JBuilder running Struts application using WebLogic Server 7.x 32

33 Enter the user name as suds and password as borland. It is designed to show you the Login Successful message. Try entering some other information, and it should bring the normal login.jsp screen again for re-entry of user name and password. Conclusion JBuilder is a highly productive environment, and users can increase their productivity and reduce the project lifecycle by using JBuilder as a Java development platform. This paper is focused only on JSPs, servlets, and Struts applications. JBuilder has many other features which are designed to make the Web development a smooth experience for the developers. If you have JBuilder installed, try the tutorials available in JBuilder Help. Also refer to other white papers available on the Borland Web site for EJB and Web Services development. Troubleshooting Error 1: WebLogic Server cannot start: config.xml not found Error description <Info> <Management> <140013> <E:\bea\user_projects\.\config.xml not found> E:\bea\user_projects\.\config.xml not found Since no config.xml was found, the filerealm.properties file will not be used. Would you like the server to create a default configuration and boot? (y/n): When did this happen I tried to run WebLogic Server from JBuilder and got this error from WebLogic 7.x tab. 33

34 Cause The Domain Directory provided in JBuilder Server Configuration may not be correct. Solution From the JBuilder menu bar, click Tools -> Configure Servers. Click WebLogic Application Server 7.x from the left-hand pane, and click Custom tab from the right. Check the Domain Directory. An example of Domain Directory is E:\bea\user_projects\mydomain. Error 2: Authentication for user <username> denied Error description <Critical> <WebLogicServer> <000364> <Server failed during initialization. Exception:java.lang.SecurityException: Authentication for user username denied When did this happen I tried to start WebLogic Server 7.x within JBuilder and got this error from WebLogic Server 7.x tab. Cause The username or password provided in JBuilder to configure with WebLogic Server may not be correct. Solution From the JBuilder menu bar, click Tools -> Configure Servers. Click WebLogic Application Server 7.x from the left, and click Custom tab from the right. Re-enter the correct user ID and password. 34

35 Error 3: Help viewer error on server in AppBrowser Error Description Help viewer error on server Unable to open location: Document not found on server. When did this happen: I tried to run a JSP/servlet from JBuilder, and the AppBrowser shows this error. Cause The error confirms that the WebLogic Server is running properly, but the document JSP/servlet that you are trying to access is not found in the WebLogic server. Solution Redeploy the Web application and try to run the JSP/servlet again. Error 4: Deployment of Web application failed Error description Exception:weblogic.management.ApplicationException: Prepare failed. Task Id = 0 Module: TestWebApp Error: weblogic.j2ee.deploymentexception: Cannot deploy ServletContext(id= ,name=TestWebApp,contextpath=/TestWebApp) from E:\bea\user_projects\mydomain\myserver\upload\TestWebApp\TestWebApp.w ar on myserver because there is already a webapp named ServletContext(id= ,name=TestWebApp,context-path=/TestWebApp) loaded from E:\Documents and Settings\spati\jbproject\TestWebApp\TestWebApp, which is using the context path /TestWebApp. 35

36 When did this happen I tried to deploy my Web archive from JBuilder to WebLogic by right-clicking the WAR file > Deploy Options -> Deploy. Cause Seems like you have already deployed a Web application with the same name to WebLogic Server. Solution By default, JBuilder maps the project Web applications to WebLogic at runtime. This is called auto-deployment or exploded format deployment. Auto-deployment does not require any WAR or EAR files. WebLogic knows where to find the updated JSPs, servlets, and Java files. But if you rather use the hot deployment (deploying archives), turn off the exploded format deployment. Click Project -> Project Properties. Click the Server tab. Click the JSP/servlet service in the services list. On the right, de-select the option Map project webapps at runtime. Now you can deploy your WAR/EAR without any deployment conflicts. Error 5: Unable to load performance pack Error description <Error> <socket> <000433> <Unable to load performance pack, using Java I/O instead. Please ensure that wlntio.dll is in: 'E:E:/bea/weblogic700/server/bin' java.lang.unsatisfiedlinkerror: no wlntio in java.library.path When did this happen This happened when I started WebLogic Server 7.0 SP1 within JBuilder 8. The error appeared within WebLogic Server tab, and the server didn t start. 36

37 Cause This error occurred because the VM parameters of Configure Servers are not correct. WebLogic is unable to find the wlntio.dll because the path information for E:/bea/weblogic700/server/bin is not correct. Solution Click Tools -> Configure Servers ->. Click WebLogic Application Server 7.x from the left-hand pane and click VM Parameters from the right-hand pane. Make sure that -Djava.library.path has correct path information. Warning 1: Deprecation warnings Warning description "TestJSP.jsp": Warning #: 368 : method putvalue(java.lang.string, java.lang.object) in interface javax.servlet.http.httpsession has been deprecated at line 8 Warning #: 369: There have been deprecation warnings. Please consult the documentation for a better alternative When did this happen Whenever I compile/build my project, I get a separate build tab in the JBuilder message pane, and these warning messages show there. Also, this happens when I start my WebLogic Server within JBuilder and deploy my archives to WebLogic. Cause Some of the methods created by JBuilder Wizard are deprecated. Solution: From JBuilder main menu bar click Project Project Properties Build tab and uncheck Show Warnings and Show deprecations. 37

38 Warning 2: Servlet failed with ServletException Warning description <Error> <HTTP> <101018> <[ServletContext(id= ,name=TestWebApp,contextpath=/TestWebApp)] Servlet failed with ServletException javax.servlet.unavailableexception: ServletContext(id= ,name=TestWebApp,context-path=/TestWebApp): The server myserver is temporarily suspended at weblogic.servlet.internal.webappservletcontext.invokeservlet(webappse rvletcontext.java:3077)at weblogic.servlet.internal.servletrequestimpl.execute(servletrequestim pl.java:2544) at weblogic.kernel.executethread.execute(executethread.java:153) at weblogic.kernel.executethread.run(executethread.java:134) When did this happen I have started WebLogic 7.x successfully within JBuilder. When I click Run Project -> TestJSP from JBuilder toolbar, WebLogic Server starts within JBuilder but shows this error in the message. Cause Sometimes the JSP is activated before the initialization of WebLogic Server which causes this error. Solution: This is a harmless warning message and doesn t effect anything. If you would rather not see this warning message, then open the WebLogic Console ( Tools -> WebLogic 7.x Admin Console), expand Servers -> click myserver -> from the right-hand window, click Logging - > change the Stdout severity threshold from Error to Notice. Click Apply. 38

39 Useful links JBuilder online documentation Optimizeit Suite online documentation Configuring Optimizeit Suite with WebLogic (to run outside of JBuilder) Borland JDataStore Link to other JBuilder white papers ,00.html JBuilder OpenTools JBuilder WebLogic Edition download Feedback and suggestions Please send your feedback and suggestions to: Sudhansu Pati, Systems Engineer 100 Enterprise Way, Scotts Valley, CA Fax: Made in Borland Copyright 2003 Borland Software Corporation. All rights reserved. All Borland brand and product names are trademarks or registered trademarks of Borland Software Corporation in the United States and other countries. Corporate Headquarters: 100 Enterprise Way, Scotts Valley, CA Offices in: Australia, Brazil, Canada, China, Czech Republic, France, Germany, Hong Kong, Hungary, India, Ireland, Italy, Japan, Korea, the Netherlands, New Zealand, Russia, Singapore, Spain, Sweden, Taiwan, the United Kingdom, and the United States

Integrating CaliberRM with Mercury TestDirector

Integrating CaliberRM with Mercury TestDirector Integrating CaliberRM with Mercury TestDirector A Borland White Paper By Jenny Rogers, CaliberRM Technical Writer January 2002 Contents Introduction... 3 Setting Up the Integration... 3 Enabling the Integration

More information

Web Services Designer puts you in control.use the new Web Services designer to visually create, validate, import, and export Web Services.

Web Services Designer puts you in control.use the new Web Services designer to visually create, validate, import, and export Web Services. General Questions What is Borland JBuilder? Borland JBuilder accelerates your Java development with the leading next-generation, cross-platform environment for building industrial-strength enterprise Java

More information

JBuilder. JBuilder 6 features and benefits. Developer productivity Support for the latest Java standards

JBuilder. JBuilder 6 features and benefits. Developer productivity Support for the latest Java standards Developer productivity Support for the latest Java standards High-productivity development environment Advanced, state-of-the-art JBuilder AppBrowser IDE Develop Java applications with no proprietary code

More information

What s New in Borland JBuilder 8

What s New in Borland JBuilder 8 What s New in Borland JBuilder 8 The leading Java development solution A Borland White Paper By Borland Staff November, 2002 Contents What s new in JBuilder 8... 5 JDK 1.4.1... 5 Project management...

More information

EJB Development Using Borland JBuilder 8 and Sybase EAServer 4.1.3

EJB Development Using Borland JBuilder 8 and Sybase EAServer 4.1.3 EJB Development Using Borland JBuilder 8 and Sybase EAServer 4.1.3 Jumpstart development, deployment, testing, and debugging EJB by Sudhansu Pati, Systems Engineer Borland Software Corporation January

More information

J2EE Development. Course Detail: Audience. Duration. Course Abstract. Course Objectives. Course Topics. Class Format.

J2EE Development. Course Detail: Audience. Duration. Course Abstract. Course Objectives. Course Topics. Class Format. J2EE Development Detail: Audience www.peaksolutions.com/ittraining Java developers, web page designers and other professionals that will be designing, developing and implementing web applications using

More information

JBuilder. Getting Started Guide part II. Preface. Creating your Second Enterprise JavaBean. Container Managed Persistent Bean.

JBuilder. 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 information

A Look at Borland C#Builder from the Delphi Developers View

A Look at Borland C#Builder from the Delphi Developers View A Look at Borland C#Builder from the Delphi Developers View A Borland White Paper August 2003 By Corbin Dunn, Research and Development Engineer, Borland Software Corporation Contents Introduction... 3

More information

Struts Tools Reference Guide. Version: beta1

Struts Tools Reference Guide. Version: beta1 Struts Tools Reference Guide Version: 3.0.0.beta1 1. Introduction... 1 1.1. Key Features of Struts Tools... 1 1.2. Other relevant resources on the topic... 2 2. Projects... 3 2.1. Creating a New Struts

More information

Building Web Applications With The Struts Framework

Building 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 information

Structure of a webapplication

Structure of a webapplication Structure of a webapplication Catalogue structure: / The root of a web application. This directory holds things that are directly available to the client. HTML-files, JSP s, style sheets etc The root is

More information

Borland Optimizeit Enterprise Suite 6

Borland Optimizeit Enterprise Suite 6 Borland Optimizeit Enterprise Suite 6 Feature Matrix The table below shows which Optimizeit product components are available in Borland Optimizeit Enterprise Suite and which are available in Borland Optimizeit

More information

Transaction Commit Options

Transaction Commit Options Transaction Commit Options Entity beans in the EJB container of Borland Enterprise Server by Jonathan Weedon, Architect: Borland VisiBroker and Borland AppServer, and Krishnan Subramanian, Enterprise Consultant

More information

Chapter 1 GETTING STARTED. SYS-ED/ Computer Education Techniques, Inc.

Chapter 1 GETTING STARTED. SYS-ED/ Computer Education Techniques, Inc. Chapter 1 GETTING STARTED SYS-ED/ Computer Education Techniques, Inc. Objectives You will learn: WSAD. J2EE business topologies. Workbench. Project. Workbench components. Java development tools. Java projects

More information

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

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 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 information

The Struts MVC Design. Sample Content

The Struts MVC Design. Sample Content Struts Architecture The Struts MVC Design Sample Content The Struts t Framework Struts implements a MVC infrastructure on top of J2EE One Servlet acts as the Front Controller Base classes are provided

More information

Administration Manual

Administration Manual Administration Manual SAP J2EE Engine 6.20 Contents About This Manual... 10 Target Audience and Prerequisites... 10 Structure... 10 Documentation Conventions... 11 Further Reading... 11 Administration

More information

Struts. P. O. Box Austin, TX Fax: +1 (801) (877) 866-JAVA

Struts. P. O. Box Austin, TX Fax: +1 (801) (877) 866-JAVA Struts P. O. Box 80049 Austin, TX 78708 Fax: +1 (801) 383-6152 information@middleware-company.com +1 (877) 866-JAVA Copyright 2002 Agenda In this presentation we will discuss: Struts Overview Where to

More information

EJB. Development Using Borland JBuilder 8 and IBM WebSphere Server 4.0. Jumpstart development, deployment, optimization, and debugging EJB

EJB. Development Using Borland JBuilder 8 and IBM WebSphere Server 4.0. Jumpstart development, deployment, optimization, and debugging EJB EJB Development Using Borland JBuilder 8 and IBM WebSphere Server 4.0 Jumpstart development, deployment, optimization, and debugging EJB by Sudhansu Pati, Systems Engineer A Borland White Paper December

More information

web.xml Deployment Descriptor Elements

web.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 information

Module Road Map. 7. Version Control with Subversion Introduction Terminology

Module Road Map. 7. Version Control with Subversion Introduction Terminology Module Road Map 1. Overview 2. Installing and Running 3. Building and Running Java Classes 4. Refactoring 5. Debugging 6. Testing with JUnit 7. Version Control with Subversion Introduction Terminology

More information

JBoss SOAP Web Services User Guide. Version: M5

JBoss SOAP Web Services User Guide. Version: M5 JBoss SOAP Web Services User Guide Version: 3.3.0.M5 1. JBoss SOAP Web Services Runtime and Tools support Overview... 1 1.1. Key Features of JBossWS... 1 2. Creating a Simple Web Service... 3 2.1. Generation...

More information

Overview. Borland VisiBroker 7.0

Overview. Borland VisiBroker 7.0 Overview Borland VisiBroker 7.0 Borland Software Corporation 20450 Stevens Creek Blvd., Suite 800 Cupertino, CA 95014 USA www.borland.com Refer to the file deploy.html for a complete list of files that

More information

How to use J2EE default server

How to use J2EE default server How to use J2EE default server By Hamid Mosavi-Porasl Quick start for Sun Java System Application Server Platform J2EE 1. start default server 2. login in with Admin userid and password, i.e. myy+userid

More information

Web Application Architecture (based J2EE 1.4 Tutorial)

Web 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 information

Classloader J2EE rakendusserveris (Bea Weblogic Server, IBM WebSphere)

Classloader J2EE rakendusserveris (Bea Weblogic Server, IBM WebSphere) Tartu Ülikool Matemaatika-informaatika Teaduskond Referaat Classloader J2EE rakendusserveris (Bea Weblogic Server, IBM WebSphere) Autor: Madis Lunkov Inf II Juhendaja: Ivo Mägi Tartu 2005 Contents Contents...

More information

SUN Enterprise Development with iplanet Application Server

SUN 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 information

Vision of J2EE. Why J2EE? Need for. J2EE Suite. J2EE Based Distributed Application Architecture Overview. Umair Javed 1

Vision 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 information

Introduction. This course Software Architecture with Java will discuss the following topics:

Introduction. 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 information

Setting Up the Development Environment

Setting Up the Development Environment CHAPTER 5 Setting Up the Development Environment This chapter tells you how to prepare your development environment for building a ZK Ajax web application. You should follow these steps to set up an environment

More information

CS506 Web Design & Development Final Term Solved MCQs with Reference

CS506 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 information

A Guide to Porting Applications

A Guide to Porting Applications A Guide to Porting Applications Migrating from BEA WebLogic to Borland Enterprise Server By Borland Software Corporation August 2002 This paper has been created in cooperation with Carbon 5, based on a

More information

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.

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. 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 information

Borland JBuilder 7 Product Certification. Study Guide

Borland JBuilder 7 Product Certification. Study Guide Borland JBuilder 7 Product Certification Study Guide Guía ofrecida por el Grupo Danysoft Primer Borland Learning Partner de España y Portugal Para realizar el examen o cursos oficiales preparatorios contacte

More information

JavaEE Interview Prep

JavaEE 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 information

ECM-VNA Convergence Connector

ECM-VNA Convergence Connector ECM-VNA Convergence Connector Installation and Setup Guide Version: 1.0.x Written by: Product Knowledge, R&D Date: September 2016 2016 Lexmark. All rights reserved. Lexmark is a trademark of Lexmark International

More information

HYPERION SYSTEM 9 BI+ GETTING STARTED GUIDE APPLICATION BUILDER J2EE RELEASE 9.2

HYPERION SYSTEM 9 BI+ GETTING STARTED GUIDE APPLICATION BUILDER J2EE RELEASE 9.2 HYPERION SYSTEM 9 BI+ APPLICATION BUILDER J2EE RELEASE 9.2 GETTING STARTED GUIDE Copyright 1998-2006 Hyperion Solutions Corporation. All rights reserved. Hyperion, the Hyperion H logo, and Hyperion s product

More information

Introducing Borland Delphi 8

Introducing Borland Delphi 8 Introducing Borland Delphi 8 for the Microsoft.NET Framework A product overview A Borland White Paper January 2004 Contents Introduction... 3 Windows development today... 4 The Microsoft.NET Framework...

More information

SAS AppDev Studio TM 3.4 Eclipse Plug-ins. Migration Guide

SAS AppDev Studio TM 3.4 Eclipse Plug-ins. Migration Guide SAS AppDev Studio TM 3.4 Eclipse Plug-ins Migration Guide The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2009. SAS AppDev Studio TM 3.4 Eclipse Plug-ins: Migration

More information

Configuring GNS3 for CCNA Security Exam (for Windows) Software Requirements to Run GNS3

Configuring GNS3 for CCNA Security Exam (for Windows) Software Requirements to Run GNS3 Configuring GNS3 for CCNA Security Exam (for Windows) Software Requirements to Run GNS3 From Cisco s website, here are the minimum requirements for CCP 2.7 and CCP 2.8: The following info comes from many

More information

Introduction. Literature: Steelman & Murach, Murach s Java Servlets and JSP. Mike Murach & Associates Inc, 2003

Introduction. 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 information

AutoVue Integration SDK & Sample Integration for Filesys DMS

AutoVue Integration SDK & Sample Integration for Filesys DMS AutoVue Integration SDK & Sample Integration for Filesys DMS Installation Guide AutoVue Integration SDK Contents INTRODUCTION...1 SYSTEM REQUIREMENTS...2 INSTALLATION PREREQUISITES...3 Download the Eclipse

More information

Struts Lab 3: Creating the View

Struts Lab 3: Creating the View Struts Lab 3: Creating the View In this lab, you will create a Web application that lets a company's fleet manager track fuel purchases for the company's vehicles. You will concentrate on creating the

More information

Anno Accademico Laboratorio di Tecnologie Web Introduzione ad Eclipse e Tomcat

Anno Accademico Laboratorio di Tecnologie Web Introduzione ad Eclipse e Tomcat Universita degli Studi di Bologna Facolta di Ingegneria Anno Accademico 2007-2008 Laboratorio di Tecnologie Web Introduzione ad Eclipse e Tomcat http://www lia.deis.unibo.it/courses/tecnologieweb0708/

More information

PRODUCT DOCUMENTATION. Installing and Implementing Enterprise Contact Center Chat RELEASE 5.1

PRODUCT DOCUMENTATION. Installing and Implementing Enterprise Contact Center Chat RELEASE 5.1 PRODUCT DOCUMENTATION Installing and Implementing Enterprise Contact Center Chat RELEASE 5.1 Document and Software Copyrights Copyright 1998 2009 ShoreTel, Inc. All rights reserved. Printed in the United

More information

This tutorial will teach you how to use Java Servlets to develop your web based applications in simple and easy steps.

This 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 information

StarTeamMPX Server. Publish/Subscribe Technology for StarTeam. By the Development Resources Platform Team. March, A Borland White Paper

StarTeamMPX Server. Publish/Subscribe Technology for StarTeam. By the Development Resources Platform Team. March, A Borland White Paper Publish/Subscribe Technology for StarTeam A Borland White Paper By the Development Resources Platform Team March, 2003 Contents ebusiness Challenges... 3 /Server Challenges... 3 The StarTeam Solution...

More information

IBM. IBM WebSphere Application Server Migration Toolkit. WebSphere Application Server. Version 9.0 Release

IBM. IBM WebSphere Application Server Migration Toolkit. WebSphere Application Server. Version 9.0 Release WebSphere Application Server IBM IBM WebSphere Application Server Migration Toolkit Version 9.0 Release 18.0.0.3 Contents Chapter 1. Overview......... 1 Chapter 2. What's new........ 5 Chapter 3. Support..........

More information

Stored Procedures and UDFs with Borland JDataStore

Stored Procedures and UDFs with Borland JDataStore Stored Procedures and UDFs with Borland JDataStore Increase application capability and get encapsulation of business logic by Jens Ole Lauridsen Borland Software Corporation August 2002 Contents Introduction

More information

Chapter 2 WEBLOGIC SERVER DOMAINS. SYS-ED/ Computer Education Techniques, Inc.

Chapter 2 WEBLOGIC SERVER DOMAINS. SYS-ED/ Computer Education Techniques, Inc. Chapter 2 WEBLOGIC SERVER DOMAINS SYS-ED/ Computer Education Techniques, Inc. Objectives You will learn: Domain - concept and implementation. Content of a domain. Common domain types. Production versus

More information

JBuilder. Borland JBuilder 6 features. Developer productivity. Personal Professional Enterprise

JBuilder. Borland JBuilder 6 features. Developer productivity. Personal Professional Enterprise Developer productivity Support for the latest Java standards Build Java applications, applets, and JavaBeans with no proprietary code or markers True two-way visual IDE with Borland Two-Way-Tools Cross-platform

More information

SAS Web Infrastructure Kit 1.0. Developer s Guide

SAS Web Infrastructure Kit 1.0. Developer s Guide SAS Web Infrastructure Kit 1.0 Developer s Guide The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2004. SAS Web Infrastructure Kit 1.0: Developer s Guide. Cary, NC:

More information

AppDev StudioTM 3.2 SAS. Migration Guide

AppDev StudioTM 3.2 SAS. Migration Guide SAS Migration Guide AppDev StudioTM 3.2 The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2006. SAS AppDev TM Studio 3.2: Migration Guide. Cary, NC: SAS Institute Inc.

More information

ActiveSpaces Transactions. Quick Start Guide. Software Release Published May 25, 2015

ActiveSpaces Transactions. Quick Start Guide. Software Release Published May 25, 2015 ActiveSpaces Transactions Quick Start Guide Software Release 2.5.0 Published May 25, 2015 Important Information SOME TIBCO SOFTWARE EMBEDS OR BUNDLES OTHER TIBCO SOFTWARE. USE OF SUCH EMBEDDED OR BUNDLED

More information

NetBeans IDE Field Guide

NetBeans IDE Field Guide NetBeans IDE Field Guide Copyright 2004 Sun Microsystems, Inc. All rights reserved. Debugging Java Applications Table of Contents Starting a Debugging Session...2 Debugger Windows...3 Attaching the Debugger

More information

BEAWebLogic. Portal. Tutorials Getting Started with WebLogic Portal

BEAWebLogic. Portal. Tutorials Getting Started with WebLogic Portal BEAWebLogic Portal Tutorials Getting Started with WebLogic Portal Version 10.2 February 2008 Contents 1. Introduction Introduction............................................................ 1-1 2. Setting

More information

BEAWebLogic Server. Introduction to BEA WebLogic Server and BEA WebLogic Express

BEAWebLogic Server. Introduction to BEA WebLogic Server and BEA WebLogic Express BEAWebLogic Server Introduction to BEA WebLogic Server and BEA WebLogic Express Version 10.0 Revised: March, 2007 Contents 1. Introduction to BEA WebLogic Server and BEA WebLogic Express The WebLogic

More information

Abstract. Avaya Solution & Interoperability Test Lab

Abstract. Avaya Solution & Interoperability Test Lab Avaya Solution & Interoperability Test Lab Application Notes for Packaging and Deploying Avaya Communications Process Manager Sample SDK Web Application on BEA Weblogic Application Server Using BEA Workshop

More information

Outline. Project Goal. Overview of J2EE. J2EE Architecture. J2EE Container. San H. Aung 26 September, 2003

Outline. Project Goal. Overview of J2EE. J2EE Architecture. J2EE Container. San H. Aung 26 September, 2003 Outline Web-based Distributed EJB BugsTracker www.cs.rit.edu/~sha5239/msproject San H. Aung 26 September, 2003 Project Goal Overview of J2EE Overview of EJBs and its construct Overview of Struts Framework

More information

X100 ARCHITECTURE REFERENCES:

X100 ARCHITECTURE REFERENCES: UNION SYSTEMS GLOBAL This guide is designed to provide you with an highlevel overview of some of the key points of the Oracle Fusion Middleware Forms Services architecture, a component of the Oracle Fusion

More information

FuegoBPM TM Enterprise Process Orchestration Engine Configuration Instructions for a JVM Engine

FuegoBPM TM Enterprise Process Orchestration Engine Configuration Instructions for a JVM Engine FuegoBPM TM Enterprise Process Orchestration Engine Configuration Instructions for a JVM Engine FUEGOBPM System Administration Training PART NO. FEPOECv5.5 Date January 1, 2005 Copyright Fuego, Inc. 2004.

More information

Java.. servlets and. murach's TRAINING & REFERENCE 2ND EDITION. Joel Murach Andrea Steelman. IlB MIKE MURACH & ASSOCIATES, INC.

Java.. servlets and. murach's TRAINING & REFERENCE 2ND EDITION. Joel Murach Andrea Steelman. IlB MIKE MURACH & ASSOCIATES, INC. TRAINING & REFERENCE murach's Java.. servlets and 2ND EDITION Joel Murach Andrea Steelman IlB MIKE MURACH & ASSOCIATES, INC. P 1-800-221-5528 (559) 440-9071 Fax: (559) 440-0963 murachbooks@murach.com www.murach.com

More information

Crystal Enterprise. Overview. Contents. Web Server Overview - Internet Information System (IIS)

Crystal Enterprise. Overview. Contents. Web Server Overview - Internet Information System (IIS) Overview Contents This document provides an overview to web server technology particularly Microsoft s Internet Information Server (IIS) and its relationship with. Although this article has been written

More information

White Paper. Fabasoft Folio Portlet. Fabasoft Folio 2017 R1 Update Rollup 1

White Paper. Fabasoft Folio Portlet. Fabasoft Folio 2017 R1 Update Rollup 1 White Paper Fabasoft Folio Portlet Fabasoft Folio 2017 R1 Update Rollup 1 Copyright Fabasoft R&D GmbH, Linz, Austria, 2018. All rights reserved. All hardware and software names used are registered trade

More information

JSF Tools Reference Guide. Version: M5

JSF Tools Reference Guide. Version: M5 JSF Tools Reference Guide Version: 3.3.0.M5 1. Introduction... 1 1.1. Key Features of JSF Tools... 1 2. 3. 4. 5. 1.2. Other relevant resources on the topic... 2 JavaServer Faces Support... 3 2.1. Facelets

More information

Java- EE Web Application Development with Enterprise JavaBeans and Web Services

Java- EE Web Application Development with Enterprise JavaBeans and Web Services Java- EE Web Application Development with Enterprise JavaBeans and Web Services Duration:60 HOURS Price: INR 8000 SAVE NOW! INR 7000 until December 1, 2011 Students Will Learn How to write Session, Message-Driven

More information

Workspace ONE UEM Certificate Authentication for EAS with ADCS. VMware Workspace ONE UEM 1902

Workspace ONE UEM Certificate Authentication for EAS with ADCS. VMware Workspace ONE UEM 1902 Workspace ONE UEM Certificate Authentication for EAS with ADCS VMware Workspace ONE UEM 1902 You can find the most up-to-date technical documentation on the VMware website at: https://docs.vmware.com/

More information

112-WL. Introduction to JSP with WebLogic

112-WL. Introduction to JSP with WebLogic Version 10.3.0 This two-day module introduces JavaServer Pages, or JSP, which is the standard means of authoring dynamic content for Web applications under the Java Enterprise platform. The module begins

More information

Cisco Unified Serviceability

Cisco Unified Serviceability Cisco Unified Serviceability Introduction, page 1 Installation, page 5 Introduction This document uses the following abbreviations to identify administration differences for these Cisco products: Unified

More information

CS433 Technology Overview

CS433 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 information

JBuilder EJB. Development Using JBuilder 4 and Inprise Application Server 4.1. Audience. A Step-by-step Tutorial.

JBuilder 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 information

Active Endpoints. ActiveVOS Platform Architecture Active Endpoints

Active Endpoints. ActiveVOS Platform Architecture Active Endpoints Active Endpoints ActiveVOS Platform Architecture ActiveVOS Unique process automation platforms to develop, integrate, and deploy business process applications quickly User Experience Easy to learn, use

More information

Contents at a Glance

Contents at a Glance Contents at a Glance 1 Java EE and Cloud Computing... 1 2 The Oracle Java Cloud.... 25 3 Build and Deploy with NetBeans.... 49 4 Servlets, Filters, and Listeners... 65 5 JavaServer Pages, JSTL, and Expression

More information

Supplement H.1: JBuilder X Tutorial. For Introduction to Java Programming, 5E By Y. Daniel Liang

Supplement H.1: JBuilder X Tutorial. For Introduction to Java Programming, 5E By Y. Daniel Liang Supplement H.1: JBuilder X Tutorial For Introduction to Java Programming, 5E By Y. Daniel Liang This supplement covers the following topics: Getting Started with JBuilder Creating a Project Creating, Compiling,

More information

Supplement IV.E: Tutorial for Tomcat For Introduction to Java Programming By Y. Daniel Liang

Supplement 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 information

ZENworks Service Desk 8.0 Using ZENworks with ZENworks Service Desk. November 2018

ZENworks Service Desk 8.0 Using ZENworks with ZENworks Service Desk. November 2018 ZENworks Service Desk 8.0 Using ZENworks with ZENworks Service Desk November 2018 Legal Notices For information about legal notices, trademarks, disclaimers, warranties, export and other use restrictions,

More information

UIMA Simple Server User Guide

UIMA Simple Server User Guide UIMA Simple Server User Guide Written and maintained by the Apache UIMA Development Community Version 2.3.1 Copyright 2006, 2011 The Apache Software Foundation License and Disclaimer. The ASF licenses

More information

Fast Track to Java EE

Fast 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 information

ServletExec TM 4.1 User Guide. for Microsoft Internet Information Server Netscape Enterprise Server iplanet Web Server and Apache HTTP Server

ServletExec TM 4.1 User Guide. for Microsoft Internet Information Server Netscape Enterprise Server iplanet Web Server and Apache HTTP Server ServletExec TM 4.1 User Guide for Microsoft Internet Information Server Netscape Enterprise Server iplanet Web Server and Apache HTTP Server NEW ATLANTA COMMUNICATIONS, LLC ServletExec TM 4.1 User Guide

More information

BEAWebLogic. Portal. Overview

BEAWebLogic. Portal. Overview BEAWebLogic Portal Overview Version 10.2 Revised: February 2008 Contents About the BEA WebLogic Portal Documentation Introduction to WebLogic Portal Portal Concepts.........................................................2-2

More information

Distributed Multitiered Application

Distributed 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 information

MyEclipse EJB Development Quickstart

MyEclipse EJB Development Quickstart MyEclipse EJB Development Quickstart Last Revision: Outline 1. Preface 2. Introduction 3. Requirements 4. MyEclipse EJB Project and Tools Overview 5. Creating an EJB Project 6. Creating a Session EJB -

More information

Application Servers - BEA WebLogic Advanced IBM Cognos Application Configuration

Application Servers - BEA WebLogic Advanced IBM Cognos Application Configuration Proven Practice Application Servers - BEA WebLogic Advanced IBM Cognos Application Configuration Product(s): IBM Cognos 8.3, BEA WebLogic Area of Interest: Infrastructure DOC ID: AS16 Version 8.3.0.0 BEA

More information

Kamnoetvidya Science Academy. Object Oriented Programming using Java. Ferdin Joe John Joseph. Java Session

Kamnoetvidya Science Academy. Object Oriented Programming using Java. Ferdin Joe John Joseph. Java Session Kamnoetvidya Science Academy Object Oriented Programming using Java Ferdin Joe John Joseph Java Session Create the files as required in the below code and try using sessions in java servlets web.xml

More information

CodeCharge Studio Java Deployment Guide Table of contents

CodeCharge Studio Java Deployment Guide Table of contents CodeCharge Studio Java Deployment Guide Table of contents CodeCharge Studio requirements for Java deployment... 2 Class Path requirements (compilation-time and run-time)... 3 Tomcat 4.0 deployment... 4

More information

Appendix C WORKSHOP. SYS-ED/ Computer Education Techniques, Inc.

Appendix C WORKSHOP. SYS-ED/ Computer Education Techniques, Inc. Appendix C WORKSHOP SYS-ED/ Computer Education Techniques, Inc. 1 Preliminary Assessment Specify key components of WSAD. Questions 1. tools are used for reorganizing Java classes. 2. tools are used to

More information

JSF Tools Reference Guide. Version: beta1

JSF Tools Reference Guide. Version: beta1 JSF Tools Reference Guide Version: 3.0.0.beta1 1. Introduction... 1 1.1. Key Features of JSF Tools... 1 1.2. Other relevant resources on the topic... 2 2. JavaServer Faces Support... 3 2.1. Facelets Support...

More information

SOA Software Policy Manager Agent v6.1 for WebSphere Application Server Installation Guide

SOA Software Policy Manager Agent v6.1 for WebSphere Application Server Installation Guide SOA Software Policy Manager Agent v6.1 for WebSphere Application Server Installation Guide Trademarks SOA Software and the SOA Software logo are either trademarks or registered trademarks of SOA Software,

More information

INTRODUCTION 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 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 information

DefendX Software Control-Audit for Hitachi Installation Guide

DefendX Software Control-Audit for Hitachi Installation Guide DefendX Software Control-Audit for Hitachi Installation Guide Version 4.1 This guide details the method for the installation and initial configuration of DefendX Software Control-Audit for NAS, Hitachi

More information

Telephony Toolbar Enterprise. User Guide

Telephony Toolbar Enterprise. User Guide Telephony Toolbar Enterprise User Guide Release 4.4 October 2009 Table of Contents 1 Summary of Changes... 7 1.1 Changes for this Release... 7 2 About This Guide... 8 2.1 Open Telephony Toolbar-Corporate...

More information

IBM Rational Application Developer for WebSphere Software, Version 7.0

IBM Rational Application Developer for WebSphere Software, Version 7.0 Visual application development for J2EE, Web, Web services and portal applications IBM Rational Application Developer for WebSphere Software, Version 7.0 Enables installation of only the features you need

More information

AquaLogic BPM Enterprise Configuration Guide

AquaLogic BPM Enterprise Configuration Guide AquaLogic BPM Enterprise Configuration Guide Standalone Edition Version: 6.0 2 ALBPM TOC Contents Getting Started...4 Document Scope and Audience...4 Documentation Roadmap...4 What is ALBPM Enterprise?...4

More information

25. DECUS Symposium THE Application Development Environment for OpenVMS

25. DECUS Symposium THE Application Development Environment for OpenVMS NetBeans THE Application Development Environment for OpenVMS Sunil Kumaran, Thomas Siebold Agenda What is NetBeans some history Major Features / Demonstrations NetBeans on OpenVMS Questions 5/2/2002 DECUS

More information

JDK-WildFly-NetBeans Setup Local

JDK-WildFly-NetBeans Setup Local @author R.L. Martinez, Ph.D. Table of Contents Overview... 1 Security Notice... 2 Download and Install Latest Stable JDK... 2 Download and Install Latest Stable WildFly... 6 Download and Install Latest

More information

Supplement II.B(1): JBuilder X Tutorial. For Introduction to Java Programming By Y. Daniel Liang

Supplement II.B(1): JBuilder X Tutorial. For Introduction to Java Programming By Y. Daniel Liang Supplement II.B(1): JBuilder X Tutorial For Introduction to Java Programming By Y. Daniel Liang This supplement covers the following topics: Getting Started with JBuilder Creating a Project Creating, Compiling,

More information

EMC Documentum PDF Annotation Services

EMC Documentum PDF Annotation Services EMC Documentum PDF Annotation Services Version 6 Deployment Guide 300 005 267 EMC Corporation Corporate Headquarters: Hopkinton, MA 01748 9103 1 508 435 1000 www.emc.com Copyright 1994 2007 EMC Corporation.

More information

Database Applications Recitation 6. Project 3: CMUQFlix CMUQ s Movies Recommendation System

Database Applications Recitation 6. Project 3: CMUQFlix CMUQ s Movies Recommendation System 15-415 Database Applications Recitation 6 Project 3: CMUQFlix CMUQ s Movies Recommendation System 1 Project Objective 1. Set up a front-end website with PostgreSQL as the back-end 2. Allow users to login,

More information

PATROL for BEA WebLogic User Guide. Version

PATROL for BEA WebLogic User Guide. Version PATROL for BEA WebLogic User Guide Version 2.2.00 June 23, 2003 Copyright 2003 BMC Software, Inc., as an unpublished work. All rights reserved. BMC Software, the BMC Software logos, and all other BMC Software

More information

BlueDragon TM 3.0 Deploying CFML on J2EE Servers

BlueDragon TM 3.0 Deploying CFML on J2EE Servers BlueDragon TM 3.0 Deploying CFML on J2EE Servers NEW ATLANTA COMMUNICATIONS, LLC BlueDragon 3.0 Deploying CFML on J2EE Application Servers May 20, 2003 Version 3.0.2 Copyright 1997-2003 New Atlanta Communications,

More information