Posted: Wed Dec 07, 2005 4:04 am Post subject: How i can use Many classes in Single Java node
Novice
Joined: 25 Oct 2005 Posts: 18
Hi all........
i want to ask about How i can use Many classes with Single Java node because my business logic in many java classes
and i just can see evaluate method to implement my node
can i solve this by creating objects from these class in the evaluate method
and can i refer to different classes and call thier methods and variables in the evaluate method of the node implementation
You need each class to be compiled and available and on the classpath, or you need to use a classloader to load it.
Then your code needs to create objects from those classes, and make decisions and pass data back and forth.
I expect that if you asked your team lead, he or she would help you learn this extremely basic fact of Java programming. _________________ I am *not* the model of the modern major general.
Posted: Wed Dec 07, 2005 4:41 am Post subject: Where i'll put other java class
Novice
Joined: 25 Oct 2005 Posts: 18
now each java node in broker v6 has a java class which extends MbNode and implements MbNodeInterface
but to manage my business process i must devide the operations to many classes, so now where i must put these classes in the same java project which has the java class of the java node
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum