Search DominoPower's 11,441 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 (77 articles)
   More about Domino log files
   Why your log.nsf might not be purging properly
   Sloppy analysis at the core of another Domino vs. SharePoint report
Home > Tips & Techniques (102 articles)
   More about Domino log files
   Why your log.nsf might not be purging properly
   A faster way to repair corrupted server files
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
Application development, William Shatner, and the origin of the universe
Learn Domino Designer 8.5 for free
The (near) future of Sametime, Quickr, Connections, and Symphony
Inside the IBM Innovations lab
Lotusphere 2010: Hot fixes and cool news for Notes, Domino, and LotusLive
Lotusphere 2010: mobility and collaboration
2010: A Lotusphere of change
Latest Lotus Headlines
Xpages not loading? JVM errors? - Solution
How to implement an iCalendar feed into your Notes calendar with XPages
DWA Hotfixes for Domino 8.5.1FP1 - A Gotcha
IBM Adds DB2 to Lotus Foundations SMB Package
SNTT : XPages onclick Ghosts in the machine
Ports used by Lotus Sametime 8.5 servers
Exploring a Domino Date Bug
>> Read all the news
More from the ZATZ journals
Computing Unplugged: The iPad defenders have spoken
David Gewirtz Online: CNN commentary and analysis
OutlookPower: More about disappearing text
-- Advertisement --

Find unused Lotus Notes groups and clean up your address book
Have you ever wanted to get rid of old Lotus Notes groups that were cluttering up your address book, but you weren't sure if they were used? Find Unused Groups can help.

Find Unused Groups will check your ACL, mail, multi purpose and server groups to help you determine if they are used, and who uses them.

Learn how to easily clean up your address book.

-- Advertisement --

Integrate your Notes Applications with Microsoft Office and Symphony
Integra for Notes Integrates Microsoft Office and/or IBM Lotus Symphony
Requires NO change to the design of the appliation or Installations of DLL's and EXE's
  • Integra is a ready to use solution, enhance static reports with Excel data analysis, pivot tables, macros
  • User friendly aproach, using a point and click access to features
  • Reports from any Lotus Notes databases
  • Runs reports through a Notes client, web browser and scheduled basis
  • Allows use of LotusScript for advanced data manipulation
  • Enables self service reporting capabilities to end-users


Learn more at www.integra4notes.com.
ZATZ Home  ·  News  ·  Back Issues  ·  Credits/Trademarks ·  Link To Us
Copyright © 1998-2010, ZATZ Publishing. All rights reserved worldwide.
Editor's Login