EJB « Development « Java Swing Q&A





1. Swings to EJB communication without RMI port    stackoverflow.com

I have swing based web application. Currently, the Swing clients communicates to EJB which is running in remote server through third party 'HTTP Tunneling' tool (JProxy). This is commercial tool. my question ...

2. Which is better: JNP or Corba?    stackoverflow.com

I've try with EJB 3.0 and swing client and i've tried with glassfish and jboss as application server when i did use glassfish, the comunication is via corba. when i did use jboss, ...

3. EJB call from swing    stackoverflow.com

I have app on GF V3.01 server and remote methods in EJB container. When I call remote methods from my remote swing app process take long time to execute. I read ...

4. Observer pattern with EJB 3 and Swing    stackoverflow.com

I have a Remote Stateful Session Bean (Observable) that stores a state that needs to be observed by a bunch of swing views. When one of these views performs an action, ...

5. Swing applications with EJB    stackoverflow.com

Any one tell, is it better to use EJB for datahandling(1.functions- like calculations ,2.database handling and when database remote & local) in swing applications and what about the performance/speed of running ...

6. client view of very large collection of objects. How to optimize?    stackoverflow.com

I have 3-tier EJB application, and I need to create a view on a thick client (desktop Java application) that shows a very large collection of objects (over 5000 orders). Each ...

7. Need Info can use swing and ejb    coderanch.com

Hello everyone I ma forwarding here from swing forum to get answer. I am new to swing component, i ve some question to ask. I am developing and a reporting tool for some compnay but they want to be done by using java swing, but the company have some office in other countries. My question is that how can java swing ...

8. swing-ejb    coderanch.com

9. Need info about Swing and EJB    coderanch.com

Hello, Java webstart has nothing to do with the communication that you are going to need between client and server. Webstart is an application distribution mechanism. Using Java Webstart you can put your application on a webserver and it will be downloaded when a user requests it. Swing and EJB can work together perfectly. There is a problem however. EJB uses ...





10. Using swing as a client for an EJB, help    coderanch.com

Hi im in need of some help with a J2EE application im working on. I need to develop a JFrame front-end GUI client that will talk to the server, however i am not sure how to use JFrame to invoke methods on the server. This is mainly because im struggling to understand how I can call a method on the client ...

11. Java Swing and EJB    coderanch.com

The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - ...

12. Conneting remote ejb from swing client    coderanch.com

Hi, I am developed ejb application which is deployed in jboss4.0.5. I write a swing client to look up ejb. Here is the code Properties p = new Properties(); p.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory"); p.put(Context.PROVIDER_URL, "jnp://"+path+":1099"); //Here path local or extenal ip p.put(Context.URL_PKG_PREFIXES,"org.jboss.naming :-o rg.jnp.interfaces"); Context ctx; try { ctx = new InitialContext(p); Object lookupObj = ctx.lookup(name); CounterTransferHome home=(CounterTransferHome) javax.rmi.PortableRemoteObject.narrow(lookupObj,CounterTransferHome.class); CounterTransfer transfer=home.create(); transfer.invoke(); } ...

13. Swing clent calls EJB component    coderanch.com

14. How to connect Servlets and EJBs    coderanch.com

I'm still studying JEE6 and trying to start several practice web application for practice. My question what is the best way to implement a basic MVC architecture by hand. My idea right now is to use Eclipse with Glassfish as the container. Make a Derby database for the model and create a servlet inside of a Dynamic Web Project for handling ...

15. Writing a Swing-EJB Client (with Netbeans 6.0)    java.net

glassfish@javadesktop.org schrieb: > Hello folks! > > I'm want to develop an Swing-based EJB-Client in the easiest possible way. How can I connect to the Session-Beans? > > When I use Netbeans "Enterprise Ressources" -> "Call Enterprise Bean" Feature, it generates the following Code: > > public class NewJFrame extends javax.swing.JFrame { > @EJB > private static AuftragsAbwicklungRemote auftragsAbwicklungBean; > .... ...

16. Recommended way to handle callbacks with a Swing Client connecting to EJBs?    java.net

It is very easy to write an RMI application where the Swing client can pass a handle of one of its exported objects to a server to allow the server to send asynchronous responses to the Swing client. The server will likely send data to the Swing client from another thread (such as a worker processing events from a data event ...





17. Cant run EJB swing client over the internet    java.net

13-jul-2008 20:55:05 com.sun.enterprise.appclient.MainWithModuleSupport prepareSecurity INFO: Security Manager is ON. 13-jul-2008 20:55:05 com.sun.enterprise.appclient.MainWithModuleSupport setTargetServerProperties INFO: ACC001:Using ClientContainer file: [C:\DOCUME~1\usuario\CONFIG~1\Temp\sunacc58164.xml]. 13-jul-2008 20:55:05 com.sun.enterprise.appclient.MainWithModuleSupport INFO: ACC024: IIOP endpoint(s) = 83.54.103.207:3700 13-jul-2008 20:55:44 com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl ADVERTENCIA: "IOP00410201: (COMM_FAILURE) Connection failure: socketType: IIOP_CLEAR_TEXT; hostname: 192.168.1.34; port: 3700" org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: No at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:2690) at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:2711) at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.(SocketOrChannelConnectionImpl.java:261) at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.(SocketOrChannelConnectionImpl.java:274) at com.sun.corba.ee.impl.transport.SocketOrChannelContactInfoImpl.createConnection(SocketOrChannelContactInfoImpl.java:130) at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.beginRequest(CorbaClientRequestDispatcherImpl.java:192) ...

18. Pass file from swing to ejb    forums.oracle.com

In my swing client I am using jfilechooser to allow the user to select a file which I add to dto as a File and pass to my ejb, But I believe this isn't working because it is only passing the file as a reference so is there a way to pass the physical file without having to loop through it ...