[java ee programming] java socket question

2009-09-11 Thread ioan-eugen stan
Hello, I'm writing a c++ server and a java client that connects to it. The client connects to the server (TCP), sends a message and gets a echo reply every time, so the two can speak freely. But i'm puzzeled because I want the server to send data to the client when an event happens (I push a

[java ee programming] Re: java socket question

2009-09-11 Thread Fiveholiday
It is not always possible for servers to report anything to the clients, unless ofcourse, the client is connected to the server. The only way that could happen is if the client doubles as a server too, that way, it gets notifications from other clients. Or maybe I didn't get your question

[java ee programming] class ActionError

2009-09-11 Thread daniel vargas
Hello, I'm new programing struts. Thanks in advance to undertand my poor knowledge. I'm trying to run struts-submit-solution project but i get the following error: C:\strutsbasics\samples\struts-submit-exercise4-solution\src\java\submit\SubmitForm.java:80: cannot find symbol symbol : class

[java ee programming] Re: Populating the E xample Database needs password file‏

2009-09-11 Thread Rafael Padron
Any other choice is getting Textpad as well.   Regards, Rafael. From: Alin Dumitrescu dorud...@gmail.com To: j2ee passion java-ee-j2ee-programming-with-passion@googlegroups.com Sent: Thursday, September 10, 2009 9:47:21 AM Subject: [java ee programming] Re:

[java ee programming] Re: class ActionError

2009-09-11 Thread Evans
Looks like struts.jar is not available on the classpath. You need it to run your code. - Evans http://valashiya.blogspot.com - Original Message - From: daniel vargas danielseb...@yahoo.com To: java-ee-j2ee-programming-with-passion@googlegroups.com Sent: Friday, September 11, 2009 1:32

[java ee programming] Re: Lab 4016

2009-09-11 Thread Alfredo Torres
Hi, Solved, The database username and password need to be app in both cases and the database name sample. Regards Alfredo On Sep 10, 6:08 pm, Alfredo Torres alfredoluis.tor...@gmail.com wrote: Hi,   I set up the database an create the book table but when i try tu run the Web my browser

[java ee programming] Re: class ActionError

2009-09-11 Thread Julian Rivera Pineda
I think you are using Netbeans 6.7.1 that comes with struts 1.3.8 version , for running this samples I think you need struts 1.2.x download it from (http://archive.apache.org/dist/struts/binaries/struts-1.2.9-bin.zip) , then remove struts 1.38 from the project and add the jars that comes with

[java ee programming] LAB-4016 Build and run bookstore4-jndi sample application

2009-09-11 Thread Alfredo Torres
Hi, I follow the steps to create the jdbc resource and morify the derby pool in the admin console in Glassfish 3.0 prelude. But when i try to run the sample Web bookstore4-jndi i receive this exception: java.lang.NoClassDefFoundError: org/apache/derby/client/am/ FailedProperties40 Where is

[java ee programming] Re: LAB-4016 Build and run bookstore4-jndi sample application

2009-09-11 Thread Julian Rivera Pineda
Maybe this thread solves your question: http://groups.google.com/group/java-ee-j2ee-programming-with-passion/tree/browse_frm/month/2007-07/86b9609fadef2ce9?rnum=31_done=%2Fgroup%2Fjava-ee-j2ee-programming-with-passion%2Fbrowse_frm%2Fmonth%2F2007-07%3F#doc_811dc96b333000dc Julian Rivera Pineda

[java ee programming] Re: Populating the E xample Database needs password file‏

2009-09-11 Thread Mihai DINCA
Hi, as we're talking about: I like PSPad http://www.pspad.com;. It is really freeware (not shareware or the community release with less functions than the commercial one or so) with all functions, it is light ... Regards, mihai Rafael Padron a écrit : Any other choice is getting Textpad as

[java ee programming] Re: Applet lesson

2009-09-11 Thread Alfredo Torres
Hi, I found a really nice and perfect tutorial for beginners like me http://java.sun.com/docs/books/tutorial/deployment/applet/index.html It is a great tutorial Hope this help someone Regards Alfredo On Sep 11, 1:49 pm, Alfredo Torres alfredoluis.tor...@gmail.com wrote: Hi,   In the