aspose file tools*
The moose likes Servlets and the fly likes Servlets for actions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlets for actions" Watch "Servlets for actions" New topic
Author

Servlets for actions

Supri dharshni
Greenhorn

Joined: Jul 14, 2009
Posts: 25
Hi ,

In my new project they are using the servlet classes for all actions.That is no frameworks like struts,spring is used.They are using the servlet classes throught out the application.Say to add a user ,delete a user etc... for each action they are calling a separate servlet class. Is it the correct way to proceed ? Upto my knowledge the servlets can be used to load anything during the start up is the effective way.

If using servlets for all actions is not the proper way then please let me know how we can modify in the better way. Experts please help.


Regards,
supri
Thakur Sachin Singh
Ranch Hand

Joined: Jun 15, 2010
Posts: 232

read java design patterns for good approach.


SCJP 6- 91%, IBM DB2, IBM RAD Certified
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61766
    
  67

Please read this article, paying particular attention to the Front Controller pattern.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Servlets for actions