• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Tim Cooke
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Frank Carver
  • Henry Wong
  • Ron McLeod
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Himai Minh

accessing database from webserver

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
We want to access database from webserver i.e. on the login page. In the login page we will be having a survey form which the users fill. This data is to be updated to the database. But we can't deploy the war file in application server and access the war from the webserver since the application is protected i.e. it has access only for the logged in users.
Please send me reply on this ASAP. any reply is appreciated.
Any other alternatives to implement this is most welcomed.
 
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
you can provide LDAP or Oblix server for Validating user credentials
 
author and cow tipper
Posts: 5006
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

we can't deploy the war file in application server and access the war from the webserver since the application is protected



Seems like you've got a fundamental flaw in your architecture.

WAR files must be deployed to a servlet engine, or what we refer to as an application server. This sits behind a web server, although it can act like a web server itself.

A web server, like apache or SunOne, can only server up files. You can perhaps do some PERL or php scripting on the web server with a plugin, but you're not going to be able to deploy a war file to Tomcat.

Which web server and application server combination are you using?

-Cameron McKenzie
 
There are no more "hours", it's centi-days. They say it's better, but this tiny ad says it's stupid:
Garden Master Course kickstarter
https://coderanch.com/t/754577/Garden-Master-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic