By Vivekanandh Sedhumadhavan on Dec 03, 2008
I thought it would be nice to add a simple GUI to the sample described in my previous blog entry, so that we can make use of java webstart for appclient.
The new sample ear file can be found here.
Source for the ear file is here
After setting up the cluster .Pls use the following steps to run the appclient sample.
Login to Glassfish Application server Admin GUI
select 'Enterprise applications"
click on deploy on the right frame.
click on Browse and give the sample ear file location. pls make sure to select java-webstart,availability and target cluster
After deploy , click on SFSB - application name on the right frame.
General tab will list out the modules , appclient and a ejb jar.
Click on the Launch link , this will list out the available links , choose any one of them and click on launch button.
Thats it! You will see the sample's GUI
Running the sample is similar to my previous blog entry
You can add an attribute and see in which instance the bean is created and the data is saved.
Bring down this instance using Appserver's admin GUI and try to add one more attribute.then click on show
this will show both attributes.