1
Student Name: __________________
Class and Section __________________
Total Points (30 pts) __________________
Due: April 3, 2011 before the class
Project: Web Services
CSCI 5520 Rapid Java Application Development
Armstrong Atlantic State University
Team Members: _____________________
Problem Description:
Write a Web service that receives a Java source code,
compiles and return two things:
1. Indicate where the code can be compiled.
2. Return a .class file if compiled successfully.
Write the client in two versions.
2
Text Area for the code
Enter Source code:
Display the status
Welcome.class is saved at
C:\temp\Welcome.class
Each team submits one hard copy. Each member must submit all files to member’s
LiveLab account.
Copy and paste all files here.
Show a screen shot of your sample runs for Java and HTML/JSP/JSF
3
Self-Evaluation for Web service:
1. Can your Webservice compile the program?
Self-Evaluation for Java client:
4. Can you create UI correctly?
5. Can you invoke Webservice?
6. Can you get the result back from Webservice?
Self-Evaluation for HTML client:
What to submit?
1. Copy of this document.
2. Save/Submit Exercise38_01, Exercise38_02, and Exercise38_03.
Hint: To compile a program, use
import javax.tools.JavaCompiler;
import javax.tools.ToolProvider;
public class Test {