Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to run the J2EE Application client

2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly introduces the relevant knowledge of "how to run the J2EE application client". The editor shows you the operation process through the actual case. The operation method is simple, fast and practical. I hope this article "how to run the J2EE application client" can help you solve the problem.

In the terminal window, go to the examples/src/EJB/converter directory.

Make sure that this directory contains ConverterApp.ear and ConverterAppClient.jar files.

Set the APPCPATH environment variable to the path of ConverterAppClient.jar.

If the client is on a different machine than J2EE server, you must set the environment variable VMARGS to the following value. Replace with the hostname running J2EE server.

-Dorg.omg.Corba.ORBInitialHost=

Enter the following commands:

Runclient-client ConverterApp.ear-name ConverterClient

The client container (container) pops up a login window. Enter guest in the user name field and guest123. Guest123 in the Password column.

In the terminal window, the client displays these lines:

That's all for Binding name:'Java:comp/env/ejb/SimpleConverter' 12160.0 0.77 Unbinding name:'java:comp/env/ejb/SimpleConverter' on "how to run the J2EE Application client". Thank you for reading. If you want to know more about the industry, you can follow the industry information channel. The editor will update different knowledge points for you every day.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report