File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes Basic Servlet Queries Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Basic Servlet Queries" Watch "Basic Servlet Queries" New topic
Author

Basic Servlet Queries

Deepak Lal
Ranch Hand

Joined: Jul 01, 2008
Posts: 507

Hi Servlet Experts,
I had a few clarifications on Servlets since I'm new to it..your help will be needed.

1> How do 2 web applications communicate with each other using Servlets(other than using Web services).?

2> what do you mean by a servlet implementing a SingleThreadModel Interface.? provide an example.?

3> what are the difference's between GET and POST methods of Request ?

4> what is Load-on-startup in servlets? where and why is it used ?

--
Deepak Lal
[ October 18, 2008: Message edited by: Bear Bibeault ]

When The Going Gets Tougher,The Tougher gets Going
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60992
    
  65

Please do not post in all bold text. I have revised your post for you.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Deepak Lal
Ranch Hand

Joined: Jul 01, 2008
Posts: 507

Please help me out with the answers...im new to servlets.

Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60992
    
  65

1) Web services are a good way. Just posting URLs to each other is another (which is what web services are anyways, just with more formality).

2) It's deprecated and should not even be acknowledged.

3) Different HTTP methods. One is intended for fetching resources, the other for posting data.

4) Controls order of loading servlets.
[ October 18, 2008: Message edited by: Bear Bibeault ]
Steve Luke
Bartender

Joined: Jan 28, 2003
Posts: 4174
    
  21

Simple research would yield answers to those questions. What do you understand and what parts confuse you about the material you found when you searched tutorials and the web for answers?


Steve
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Basic Servlet Queries