I want to access search web services. For that i am having SDK file in ".java" file format. If i compile and run those files from command prompt i am getting result. But i want to achive this through browser. Is there any way to compile and run from browser?. for that what i have to do?

I'm not too sure what you're asking but. . do you know what Applets are? This might be irrelevant, if so, feel free to ignore me. But since you've been getting no comments. .

I think he's trying to get a servlet running, not sure though

I think he's trying to get a servlet running, not sure though

Or a simple GUI.

damu, you need to better describe your question and what you are trying to accomplish. An example would help

For that the first requirement is webserver/ appserver and place the java file in the proper location of your webserver/ application server.