Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

will i require something else or Java is powerful enough

 
Siddharth Ramavat
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • 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
 
Jeroen Wenting
Ranch Hand
Posts: 5093
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Servlets are plenty fast enough if you have them running on a decently performing system.
 
Heonkoo Lee
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
  • 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,
 
Monarch Bhojani
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • 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
 
Dharmanand Singh
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • 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
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!