JSP Consumer for a Visual Studio Created Web Service Using Sun Java Studio Creator - The Completed Java Code
(Page 6 of 6 )
The next paragraph shows the complete Java code for this JSP.
Build the project and test the page
We are almost finished. From the main menu click on Build and build the project. There is an option to clean up and build as well, assuming you somehow created unnecessary code while troubleshooting or otherwise. The page can be browsed by running the project. This requires you to highlight the project, in this case Test, after making sure that the TestHello.jsp is marked as the starting page, since the project may contain many other pages as well. You can mark a page to load first by highlighting the page in the project, and right clicking and picking the option Set As Start Page as shown. Presently TestHello.jsp (notice the green arrow head) is the start up page, but you can now make verify.jsp to start first.

When you run the project this is what you see displayed. Before the display shows up a Deployment Progress Manager window pops up showing the progress, during which time you may cancel the process if you wish to do so.

Summary
Java Studio Creator 2 successfully created a JSP client to access the web service created using Visual Studio 2005. The IDE provides excellent support for testing the web service in-situ from many points of the program. It is extremely easy and painless. However, in common with other Java programs the loading of the JSP is slow, especially the first time. The drag and drop feature works quite well except that sometimes it was seen that when a component was removed in the design, the accompanying library references stayed on. However verifying this was not the object of this tutorial, so it was not completely verified.
| DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware. |