NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
cpliu903
Joined: 12 Jan 2009 Posts: 8
|
Posted: Sat Aug 15, 2009 3:24 am Post subject: how to deploy the J2EE application to other PC |
|
|
currently, i develop a j2ee application in PC1,
how to deploy this project to PC2's glassfish? |
|
| Back to top |
|
 |
Fabián R. Breschi Posted via mailing list.
|
Posted: Sat Aug 15, 2009 11:46 am Post subject: how to deploy the J2EE application to other PC |
|
|
Hi,
You need to copy the .ear archive to the other PC supposing that your
deployment on PC1 is already done and PC2 reflects the same basic
configuration:
Suppose you have a UsersApp in PC1 deployed on PC1 as:
.../usersapp/dist/gfdeploy/UsersApp.ear
(UsersApp.ear contains UsersApp-client.jar, UsersApp-ejb.jar, UsersApp-war.war)
You need to copy this archive to the corresponding directory on PC2.
An alternative/complementary option can be via the GlassFish Console
at http://localhost:4848 by selecting the UsersApp.ear:
Applications -> Enterprise Applications -> Deploy
If you have a DAO (Database Access Objects) layer in you JEE app, pls
don't forget to configure PC2 reflecting the same config as PC1
regarding persistent objects.
Hope this helps, good luck!
FRB
On Sat, Aug 15, 2009 at 5:24 AM, cpliu903<address-removed> wrote:
| Quote: | currently, i develop a j2ee application in PC1,
how to deploy this project to PC2's glassfish?
|
|
|
| Back to top |
|
 |
|
|
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 You can attach files in this forum You can download files in this forum
|
|