Home > Ask the Domino Experts > Domino Development Questions & Answers > Using add-in Java API in Notes/Domino
Ask The Domino Expert: Questions & Answers
EMAIL THIS

Using add-in Java API in Notes/Domino

Andre Guirard EXPERT RESPONSE FROM: Andre Guirard

Pose a Question
Other Domino Categories
Meet all Domino Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 30 October 2005
I tried to use an add-in Java API (namely, Java Comm API) in Notes/Domino, but I couldn't get it working. I could not find any answers in the www.notes.net forum.

Basically, I just want to know where I should put the three important files included in the Java Comm API: comm.jar, javax.comm.properties and win32com.dll. Currently, comm.jar has been included in the project. Javax.comm.properties has been put under /jvm/lib directory. Win32com.dll has been put under /notes directory.

But it's still throwing errors, i.e., "Caught java.lang.NullPointerException: name can't be null while loading driver com.sun.comm.Win32Driver"

Any help you can provide in resolving this matter will be greatly appreciated.


>
I'm not a Java expert, but if you're writing this as an agent in Domino, I suspect your best bet is to include the files you need in your Domino database design -- either as part of your agent, or in a separate "Java Script Library" design element. After all, other people who run your code will not necessarily have these libraries on your disk -- even if the Notes client JVM knew to look for them there.

MEMBER FEEDBACK TO THIS ASK THE EXPERT Q&A:

If someone else is interested in finding a solution to this Java API, I've managed to get it working. I have put my solution here. I hope it helps!

—Rusyinni R.


Do you have comments on this Ask the Expert question and response? Let us know.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
Domino Development
Can I create and copy Microsoft Excel spreadsheets with LotusScript?
'Illegal circular use: Audit Trail' error when opening Lotus Notes docs
How to make computed fields recalculate
Sending and logging faxes from Lotus Notes and Domino
Accessing documents in a Lotus Notes database
Adding an action to the Lotus Notes right-click menu
Writing temporary text files that email as attachments
Trapping the on-click event of a radio button
Copying a form object using LotusScript
Connecting to a remote DB2 server with LEI

Java for Lotus Notes Domino
Top 10 Lotus Notes/Domino coding and development tips of 2008
Java code inserts data from Notes documents into a SQL table
Java code shortens strings in a SQL table
How to execute a stored procedure in Lotus Notes Domino using Java
Top 10 Lotus Notes Domino programming and development tips of 2007
How to return an HTML representation of a Lotus Notes rich-text field
Shrink Lotus Notes databases with many attachments
Converting Lotus Notes Domino Web pages to PDF files with a Java agent
Developing Eclipse plug-ins for Lotus Notes and Domino -- 7 tips in 7 minutes
A bevy of Notes/Domino development tips

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



Lotus Notes Domino on Blackberry and mobile devices
HomeTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersDomino IT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 1999 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts