This content has been marked as final. Show 4 replies
Your process "looks" correct.
I assume your package header for your java classes is
Also have you written a java test class that excercises your java code to make sure that is working properly? Sorry - have to ask!
First of all - Thank you for responding to my post!
yes the package header is package samples.twa;
I have not written a test class for the java code yet. I will do that and update my post.
Again thank you for your response!
I created a test program for Java code and it successfully calls the loadPersons method. I copied the class files from this test program's build\classes directory to classes\twa directory and tried unsuccessfully to start Data Service destination person.
I am building my java code in NetBeans 5.0 . Is there a certain type of project template that needs to be used to make the class files executalbe by the Data Service thread. I noticed that in the contact example's ContactAssembler class that there is no main and no constructor for ContactAssembler
Should I be putting these classes in a jar file? If yes what file do I modify to add the jar file to the class-path of the Data Service thread?
I finally got my application to run! The problem was that I had been compiling the Java classes as a General Application using NetBeans 5. When I switched over to a Web Application Project the classes were executable/callable by the Data Service thread.