This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Servlets and the fly likes Web container restrictions? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Web container restrictions?" Watch "Web container restrictions?" New topic
Author

Web container restrictions?

Tonny Tssagovic
Ranch Hand

Joined: Dec 30, 2003
Posts: 226
Hello people,
I just wanted to ask you if there are any restictions imposed by the web container like thread creation and file I/O restricted by the EJB container.
Thanks for your time.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12761
    
    5
I don't know about other containers, but any security restrictions on servlets and JSP in Tomcat are those imposed by the administrator of the system through Java's "fine grained" SecurityManager policy definition capabilities. I just went through this when getting a servlet to talk to a JavaSpaces server.
If you start Tomcat with the -security command line parameter, a SecurityManager is created using the ../conf/catalina.policy file. There is nothing unique to Tomcat here - just plain Java security. If you don't specify -security, no SecurityManger is created and code can do anything it wants.
Bill
Tonny Tssagovic
Ranch Hand

Joined: Dec 30, 2003
Posts: 226
Thank you for your time Bill
[ March 08, 2004: Message edited by: Tonny Tssagovic ]
 
wood burning stoves
 
subject: Web container restrictions?
 
Similar Threads
Diff. B/W Web Server & Web Container
container
web container vs web server
Container architecture
Using JBoss