• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

is it possible with web services

 
raju parepally parepally
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hai,
i have to communicate 2 java projects
i want to access second project database from first project here the condition is that no interaction b/w those 2 projects ie don't have to use jdbc connections to get data from second project how can i access database of second project? is it possible with webservices?


Thanx in advance


regards
nagaraju
 
Michael Valentino
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't fully understand exactly what you're trying to do, but it sounds like you have one application that uses a database, and you want to access that data from another application. Web Services is certainly an option, but others do exist; You could expose a stateless session bean to do the business logic of accessing the database. This would allow you to implement security based on who is accessing the database, rather than "all or nothing". A web service call may introduce unnecessary overhead and performance issues instead of going with an EJB.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic