Search DominoPower's 10,675 Lotus-related article archive 
Home
EasyPrint
News details Click here for the RSS feed's XML code. This is not a browser URL.
Articles-only Click here for the RSS feed's XML code. This is not a browser URL.
Twitter Feed Click here for the Twitter feed.
THIS WEEK'S POWERTIP
Using the Lotus Domino Driver for JDBC 1.5
By Dan Velasco

As you probably already know, a Domino database is not a relational database. But when you're developing Java-based applications, you might want it to "act" like it's a relational database. That's where the Lotus Domino Driver for JDBC 1.5 (LDDJ) comes in handy. The LDDJ driver is a Type 2 JDBC driver that, according to the Lotus Web site, "allows Web applications (JavaBeans, EJBs, servlets, ASPs, etc.) as well as Java applications and applets to read, report, and update information that is stored in Domino databases (.nsf files)."

What this means for you developers out there is that you can use the power of SQL to query, insert, and update data residing in a Domino database. It's like opening up another door on how you can access and use the data you already have. You can find out more information about the LDDJ driver and download it at http://lotus.com/jdbc.

LDDJ supports both Notes 5 and 6 as well as IBM WebSphere Application Server. So, if you're already running R5 you don't have to upgrade to Notes 6 just to use it. And it has a very slick install tool that even inserts the path to the JdbcDomino.jar file needed to use the driver.

There are a few key things to keep in mind when you're working with the LDDJ driver:

  • The LDDJ driver uses the same security as the Notes client, so when you test LDDJ locally it will use the active Notes User ID on your system. If the database you are trying to access is protected and your Notes User ID has a password associated with it, you will be prompted for your password. The only way to eliminate the prompt is to either modify the ACL to allow default reader access to the database or to clear your password. See the LDDJ driver FAQ and help files for more information.

  • You can run an application using the LDDJ driver on a non-Domino server, but you will still need to install and configure a Notes client that the driver will use to access the database(s). Note that the Notes User ID and password requirements listed above apply here as well, and that the server needs to be running Windows.

  • The LDDJ driver is a Type 2 driver, which means that it combines Java and native (C-API) methods to access a Notes database. Therefore, Windows is required in order to use the LDDJ driver.

  • The LDDJ install includes six sample programs, so make sure you take a look at them to get some ideas. The samples I tried worked right away, and I was able to quickly modify them to access another Notes database using LDDJ.


1  ·  2  ·  Next »
Other articles you might like
Home > Lotus Technologies > Domino (69 articles)
   Centralised email encryption at the Domino server level
   Getting the Domino server time with @Now
   When the email flood inundates the Domino Server
Home > Tips & Techniques (95 articles)
   When the debugger won't debug hidden code that isn't hidden
   What to do if the LotusScript debugger won't single-step over code
   Troubleshooting an OpenSuse Notes install
Get Weekly Email Updates
Subscribe to our regular weekly email newsletter. It's packed with tips, reviews, deep analysis, and the latest news.
 
Recent DominoPower Articles
What to look for in a Domino-based document management solution
Understanding Domino.doc end-of-life options
When the debugger won't debug hidden code that isn't hidden
What to do if the LotusScript debugger won't single-step over code
Top 10 ways to launch and build a Lotus consulting practice (with a little help from the Beatles)
Troubleshooting an OpenSuse Notes install
Incident report: denial of service attack against ConnectedPhotographer.com
Latest Lotus Headlines
SnTT - Enabling ALL the bells and whistles!
Tivoli Data protection causes Domino to crash
Fun when running DB2 CLP scripts
Introducing Flippr, the easy way to admin Quickr
DXL and fake security
Using search forms in IBM Workplace Collaborative Learning 2.7
Schmidt, Freed, and Gering on the OVF Toolkit
>> Read all the news
More from the ZATZ journals
Computing Unplugged: Eight steps to successful and reliable home backups
David Gewirtz Online: CNN commentary and analysis
OutlookPower: Can Outlook run when it's not running (and other mysteries)?
-- Advertisement --

AUTOMATE LOTUS NOTES USER ID MANAGEMENT
ID Manager 4.5 from HELP Software provides a new level of automaton for managing Lotus Notes IDs. ID Manager lets Lotus Notes administrators get out of the business of creating and managing user IDs. Use our ROI calculator to see how quickly ID Manager will pay for itself.

Learn more about HELP Software products
-- Advertisement --

Sophisticated Meets Simple For Document Management
Share. Control. Manage.
Documents, emails, and content in the context of how work is done. Native to Lotus Domino. The User Experience unseen for Lotus Domino. Do more with less. Really.

See the possibilities Docova unleashes for Lotus Domino.
ZATZ Home  ·  News  ·  Back Issues  ·  Credits/Trademarks ·  Link To Us
Copyright © 1998-2009, ZATZ Publishing. All rights reserved worldwide.
Editor's Login