IBM blue-and-black template with image

Download Report

Transcript IBM blue-and-black template with image

Java™ Web Application
Development with
Eclipse WTP
- WTP Quick Tour
Naci Dai
eteration a.s.
Lawrence Mandel
IBM Rational Software
Arthur Ryman
IBM Rational Software
© 2006 by IBM and Naci Dai; made available under the EPL v1.0 | Santa Clara | Mar. 20, 2006
Agenda
 WTP Quick Tour
 Setting up Your Workspace
 The Presentation Tier
 Break
 The Business Tier
 The Persistence Tier
 Web Services
2
Java Web App Dev with Eclipse WTP | © 2006 by IBM and Naci Dai; made available under the EPL v1.0
WTP Quick Tour Agenda
 WTP contains a lot of tools – let’s start with an overview
 Iteration 1

configure an application server, create a Web application, develop a simple
JavaServerTM Pages (JSP) document that prints a greeting, and run it on the server.
 Iteration 2

add a login JSP, write Java scriptlets to display the user name, create a Java servlet
that controls the application page flow, and debug the servlet and JSPs.
 Iteration 3

create a database to store user information, develop an SQL query to access it, and
add Java Database Connectivity (JDBC) calls to your servlet to invoke the query and
retrieve the user information.
 Iteration 4

3
deploy the database query as a Web service, generate a JSP test client that invokes
the Web service, and monitor the Simple Object Access Protocol (SOAP) message
traffic.
Java Web App Dev with Eclipse WTP | © 2006 by IBM and Naci Dai; made available under the EPL v1.0
Attributions
Java and all Java-based trademarks are trademarks of Sun
Microsystems, Inc. in the United States, other countries, or both.
Other company, product, or service names may be trademarks or
service marks of others.
4
Java Web App Dev with Eclipse WTP | © 2006 by IBM and Naci Dai; made available under the EPL v1.0