• Post Reply Bookmark Topic Watch Topic
  • New Topic

Question about names of servlet  RSS feed

 
Jose Jim´┐Żnez
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In my component diagram I use the following :

FrontController --> Servlet --> BussinessDelegate--> SessionFacade (Stateful) --> ...

The stateful is the controller of application.
The servlet only realize calls to bussinesDelegate to response with other page. Can I name with sufix "Controller" ???

I have a servlet to prepareItinerary , other para chageItinerary and other to maintaint AccountCustomer.

How can to name the my servlets components ???
 
Harish M
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Controller" is suffixed to the components which stands only point of entry.For example, If all your calls to the webcontainer goes thru a single servlet you can probably name it as WebController, which decides how to handle the request.

Harish
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"JJ Captain and Harish",

There aren't many rules that you need to worry about here on the Ranch, but one that we take very seriously regards the use of proper names. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Thanks!
bear
Forum Bartender
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!