I am working on a project trying to utilize the location transparency feature of J2EE-EJB's. I would be developing and deploying EJBs on a container in a dedicated instance of an Appserver. The clients that would invoke business methods would be running on a different JVM, different machines. I tested that out, i am able to do it with the JNDI lookup with properties including url password etc. Good going. Now, the question is,
1. in order for the client to compile, I need to provide an ejbclient jar file, what all should that include? ATG Dynamo provides a runDarina tool that creates a jar file that contains, EJB stub, home, remote and WCC classes. I am curious, do I need all of those for the client to compile?
Another question, may be trivial to many of you gurus:
2. Planning on using a value object for communication between different client and business(ejb) tier. There are going to be say 5 clients accessing this business ejb(reminder, clients and ejbs are on different jvms) and if i need to modify a value object in order to account for the changes for one of the clients, by say, adding one more variable and getter, setter for it, do i need to recompile all of my clients to account for that change. I understand that the jar file that resides on the client tier would have the old jar that contains the older version of value object and the business tier would have newer version of value object. Can this work? I am trying to guage, if any change happens to a business tier, should all the client tiers have to be recompiled, server bounced etc?
Sorry if this was a lengthy question, thanks in advance for your help