• 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:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

will i require something else or Java is powerful enough

 
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hello Sir
As i have previously stated that my chat application is running nicely using JSP and servlets. But till now it has been tested in a standalone PC

Now would there be a delay when the application is being deployed into the LAN as i am having a fairly simplistic database for the storage and user gets authenticated against this database via the servlets

Now if i want to use LDAP will it be a good decision to reduce the delay in the application or else servlet communication with the database is a good and a feasible thing to have

Thanks
Regards
Siddharth
 
Ranch Hand
Posts: 5093
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Servlets are plenty fast enough if you have them running on a decently performing system.
 
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In addition, LDAP is usually optimized for reading and appropriate for authenticating internal users. So, if you need to read/update external user information frequently, DBMS is for that purpose.

Regards,
 
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello all
If i place the code of adding the entries to LDAP server into the servlet the thing happens is that from that line of code the execution stops
Yes but the code compiles successfully but there is a runtime exception
This runtime exception is not even shown just the execution stops

Please help

Thanks
Regards
Monarch
 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Did you catch the exception and try to print the Stack-trace? If not, do so and see if it helps.

Originally posted by Monarch Bhojani:
Hello all
If i place the code of adding the entries to LDAP server into the servlet the thing happens is that from that line of code the execution stops
Yes but the code compiles successfully but there is a runtime exception
This runtime exception is not even shown just the execution stops

Please help

Thanks
Regards
Monarch

 
WHAT is your favorite color? Blue, no yellow, ahhhhhhh! Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic