Xpages - Java - How to start writing code -
Xpages - Java - How to start writing code -
i new java not lotus notes. here of questions:
main method in java class - can run simple helloworld.java in dde in ecplise? do utilize java design element or create java classes in project explorer? would improve uninstall other jvms before starting on working java in dde?thanks arun
if want play java (not xpages part) create java project in domino designer (change java perspective) , utilize main write code. when run java programme output console. can still access domino objects. example, code below shows how that... did test out info models , concepts , copied code actual nsf utilize bean after proved out concept. much easier experiment , test running code java programme , viewing output in browser.
howard
public static void main(string[] args) { seek { notesthread.sinitthread(); // start thread session s = notesfactory.createsession((string) null, (string) null, "cessna"); //do whatever } grab (exception e) { e.printstacktrace(); } { notesthread.stermthread(); // must terminate every thread } }
xpages
Comments
Post a Comment