Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

is it possible with web services

 
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
 
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.
 
All that thinking. Doesn't it hurt? What do you think about this tiny ad?
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic