File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlets or Stateless Session EJB to update database?

 
Cas Sater
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Looking into writing an app that would update a database through JDBC. Was curious if this could be safely implemented with servlets rather than the additional cost and development time using EJB. Can somebody comment?
Thanks.
 
Ashwin Tadepalli
Greenhorn
Posts: 27
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
You could no doubt implement that with servlets and it is safe.
You can do all sorts of operations like inserts,updates,deletes in the database safely.
Ashwin
 
Cas Sater
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you...
Follow up then...(Maybe this is getting into EJB territory)
At what point or in what situation does straight Servlet coding become too unwieldy and better handled by EJB application servers?
Are there any resources that address the issues related to multiple users updating a database? I guess that transactions would handle this kind of thing, but I'd be interested to hear more.
Thanks again.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic