Problem in getting Updated EJB methods in JSC for a Same Project
I'm Using Sun Studio Enterprise for developing EJB sets.After that i'm importing the EJB set in to JSC & using it my Project.
If i need to add some more business methods/edit the business method i'm able to do that in the Sun Enterprise IDE.After editing the EJB ,redeploying & reimporting to JSC i couldn't get the updated version of EJB in my Current Project.
We could be able to get the updated EJBs,if we are using it in a new project other than using it in the Previous one.
It's being a great problem for me.Vat shall i do for this problem?Please help me,a project is in Pending stage because of this problem.
Regards
Kajanan
[682 byte] By [
Kajanan] at [2007-11-26 11:51:43]

# 1
We actually use an EJB layer built in Sun Enterprise for the backend to a Creator-based web app. I don't know anything about your EJB architecture, but we use a fairly standard design model based on a Session Facade with value objects. The EJB layer has been updated and redeployed successfully many times. Don't forget to update the Client jar files in the web app. In our case, we also update the Session Facade Delegates and Value objects reasonably often. Of course you need to keep the object sets synchronized on both 'side' of the EJB/Web app communication. Other than that, the basic architecture works very well for us.
# 2
Hi MWH@Keystroke,
Thanks for your consideration of my problem.I also use an EJB layer built in Sun Enterprise for the backend to my Creator-based web application.My Current problem is getting the updated EJB sets to my current project.
For Ex:
If i add a new Business method called doSomething( ),then i should be able to get that method in JSC using FinalFacadeRemoteClient1.doSomething().
But after typing FinalFacadeRemoteClient. , doSomething() method is not displaying.
If i use that in a new project [Previously not used Same Session Facades]all the updated EJB business methodss are coming.I want to use updated EJBs in the project i'm already working.
Regards
Kajanan
# 3
We just load the revised Session Facade client and restart and/or reopen the project. Are you looking for the updated methods in the Java code completion? Not sure where you are looking. In any case, if you change methods you'll need to ensure the new client library with the new method signatures is available to the UI.
# 4
Hi MWH@Keystroke,
After reading your reply,i loaded the revised session Facade in my Creator IDE and Restart & reopened the project.Then my updated methods are coming during the java code auto completion.
When i was running that project,i checked the appropriate updated methods are working,it throws no such method exception.What may be problem in this.