Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link

Veri Strora

Greenhorn
+ Follow
since Feb 04, 2003
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Veri Strora

Hi all.
I'm trying to establish a connection from a client application and JBoss 4.2.2 (on my JBoss 3.2 works fine).
On
"EJBHome oEJBHome =
(EJBHome)PortableRemoteObject.narrowoHomeObj,Class.forName(sHomeClass));"
I get this error:
java.lang.ClassCastException: $Proxy60 cannot be cast to javax.ejb.EJBHome
at it.ised.webeasy.client.services.AEJBServiceFactory.createService(AEJBServiceFactory.java:122)
at com.act.webprj.client.InterStatus.notifyServices(InterStatus.java:331)
at com.act.webprj.client.InterStatus.doGlobalInit(InterStatus.java:295)
at com.act.webprj.client.web.servlets.FrontEnd.init(FrontEnd.java:117)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:806)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
at java.lang.Thread.run(Thread.java:619)

Is it a JBoss problem? Anyone resolved it?
Thanks
13 years ago
Hi, Alessandro.
I've the same problem in JBoss4.3.
How do you resolved it, please?
Veri
Hi all!
I have a Swing client application that communicate with a backend application in the server. I need to open and save in local some files arrived from the server that are of type .pdf (other than .doc or .csv) type. What is a recommended java product for viewing pdf files from Swing?

Thank's in advance!
16 years ago
Hi all!
I have a Swing client application that communicate with a backend application in the server. I need to open and save in local some files arrived from the server that are of .pdf, .doc or .csv type. What is a good and proven mode for this? I know: this is not "Java", but the client needs that. What is the best practise?
Thank's in advance!
17 years ago
Thank You very much Stan for the reply,
but there is a problem:
The servlet use other business classes that communicate with the ejb and make other things. Those classes are fondamental for the application, and I would like to conserve their functionality (because the application work wery wery well). Any other idea?
Thanks again!
17 years ago
Hi all!
I have a complex J2EE application (with EJB, Servlet, Jsp ecc.), with a Html interface (For Internet Explorer).
I would like to bring the client side to Swing. I think to use Xml-Rpc ower http for the communication.
I need to know: 1. Is this the best solution?
2. If not, what can I do? (any links, examples ecc.)

PS: I need to open .pdf and .doc files from this client.

Thanks in advance.
17 years ago
Hi All!
I have a problem: I have a Swing Application that comunicate with a server with xml-rpc, and the response sometimes is more than 5 sec.
I need to display a "Please wait" - modal dialog.I do this in a new thread, but...this block the work anyway. And...how can I 'hide' dhe dialog when I have the response from server?
Thanks in advance!
17 years ago
Hi All!
I'm developing a Swing Client for an application, and I need to open
(clicking a Button) pdf, doc and csv(excel) documents. What is the best way to call rispectivelly Acrobat Reader, Ms Word and Ms Excel from java code?
Thank You very much
Veri.
17 years ago
Hi All!
I have a big Web Application, and recently we need sign digitally some pdf documents, using the smart card.
-----------------------
1. Is this possible in this conditions? (without a java client or applet?).
-----------------------
2. If 'Yes', Where can I find some material: tutorial ecc... about this argument.
-----------------------
Thanks.
17 years ago
Hi All!
I have a J2EE Application (App.ear), that often change. For every deploy I stop and start the app server (OC4J).
There is any risk if I adopt the "HOT DEPLOYMENT"?
(The application contain EJB, Servlet ecc.).

Thanks in advance, Veri.
17 years ago
Thank You very much Kathy, and congratulations for the excellent Book.

I understand You very well, but the confusion comes from where I'prove the example and expected an exception ("Client WILL get an exception if...").

I know that my english isn't so good.

Thanks again, Veri.

P.S. I'm waiting Your book about the patterns...
Yes, that is all right.
But the question is:

WHY

"Client will get an exception if he tries to use the EJB object reference after removing the bean" ???

Thanks.
For the Stateless session beans REMOVE:
"Client will get an exception if he tries to use the EJB object reference after removing the bean".

Is it right? I have in the Client:
------------------------------------------------------
1. Advice advisor = home.create();
2. System.out.println(advisor.getTheMessage());
3. advisor.remove();
4. System.out.println(advisor.getTheMessage());
------------------------------------------------------
... and in 4. I have the message and NOT the Exception.
Hi All!
Im studying the beautifull book "Head First EJB". I'm using RI from SUN, and I can from here check the option of creating a EjbClient jar. I'm using another server (OC4J), and here i have not the possibility of creating the client.
Question 1: What is a correct (and usual) mode for creating Clients
for EJB-s?
Question 2: How can I create that client without deploying (or copying)
all in the client mascine(it is non sense duplicating all the application on the client mascine.) What is the minimum necessary needed for the client in the client mascine?
Thanks in advance, Veri.
Thank YOU Valentin, and congratulations for how you work!

Veri.