JSP Consumer for a Visual Studio Created Web Service Using Sun Java Studio Creator - Creating the JSP Client with Java Studio Creator 2
(Page 3 of 6 )
Java Studio Creator 2 IDE Overview
Click on the shortcut on the desktop to start the Sun Java Studio Creator 2 IDE which opens up as shown.

You can create a project from File-->New Project which opens up the following window.

Choose to create a web project. Make sure you read the description of this category of project. Click on the Next button.
This will open up the New JSF WebApplication with the default project name WebApplication1. This has been changed to Test for this tutorial.
JSF, short for Java Server Faces, is a Java server side technology based on a standard specification for building rich web applications. This is a better and recommended way of building web applications; better, in fact, than just using HTML or Java Server Pages. Sun Java Studio Creator and several other vendors support the JSF; that includes Borland JBuilder, IBM Web Sphere and Oracle JDeveloper. This Model-View-Controller (MVC) architecture runs on top of JSP and Servlets. For more details browse the ASPFree site, the Sun site and others on the Internet.

When you click on the button labeled Finish you will have created the framework for a JSF web application with all the necessary elements as shown. In what follows, only the features required by this tutorial will be discussed. In the web pages folder there will be a Page1.jsp which has been renamed TestHello.jsp. JSP, short for Java Server Pages, are the equivalent of Active Server Pages or Active Server Pages.Net in the Java world. They are files that are processed on the server. Just as you can drag and drop controls on ASP, you can drag and drop controls on the JSP.

The next picture shows the details of a Page1.jsp page. It has several tabbed pages for design, JSP and Java.

On the design page which is in view, you may drag components from the Palette which is the equivalent of Toolbox in Microsoft IDEs.

The JSP tabbed page shows the JSP file, an XML file with JSP specific tags. Notice the structure of this file and the specific namespaces used.

The web application will be bundled as a package which shows the Java coding of this package as shown.

This next window shows the Servers used by the web application. This window can also be used for adding data sources, web services, and so on. This window will be used in the tutorial. It has items to take care of databases, web services, and Enterprise Java Beans.

Next: Referencing the Web Service in Java Studio Creator 2 >>
More Java Articles
More By Jayaram Krishnaswamy