question on port numbers

2000-10-05 Thread Karthik Vishwanath
Hi, I was reading up on basic networking with Sockets on java and had this question: if a server was started on a machine A with the constructor - new ServerSocket(0), and I needed a client on Machine B to connect to this server but the client does not know in advance which port will the service

Re: Tomcat + EJB ?

2000-10-05 Thread Chris Abbey
At 17:39 10/5/00 -0700, Nathan Meyers wrote: >On Thu, Oct 05, 2000 at 11:59:21PM +, Mark Ogden wrote: > > Here's a quick question...Sorry to waste people's time but what are the > > essential differences between JavaBeans and EJB from a practical point of > > view? >They aren't similar in the

Re: Tomcat + EJB ?

2000-10-05 Thread Nathan Meyers
On Thu, Oct 05, 2000 at 11:59:21PM +, Mark Ogden wrote: > Here's a quick question...Sorry to waste people's time but what are the > essential differences between JavaBeans and EJB from a practical point of > view? They aren't similar in the least, except in name. JavaBeans is a general-purp

Re: Tomcat + EJB ?

2000-10-05 Thread Tony Dean
Mohd, Tomcat supports Servlets and JSP. For EJB you need something a bit bigger. You may want to look at Enhydra. Mohd Mokhtar wrote: > > Does Tomcat suppport EJB ? I could not found any word in Tomcat > documentation saying it have EJB capabilities. > > Anybody have ideas ? > > --= ahYeop =

Re: Tomcat + EJB ?

2000-10-05 Thread Mark Ogden
Here's a quick question...Sorry to waste people's time but what are the essential differences between JavaBeans and EJB from a practical point of view? -- Save the whales. Collect the whole set. [EMAIL PROTECTED]http://homepage.ntlworld.com/pogden On Thu, 5 Oct 2000, Jesus M. Salvo Jr.

Re: Events

2000-10-05 Thread Mark Ogden
THIS means that THIS class will be the ActionListener for that button. You will therefore have to have an actionPerformed method within the class to handle any events coming from that button. This is VERY different from the way things were done in Java 1 and, in my experience, far more efficient.

Re: Runtime.getRuntime().exec(message);

2000-10-05 Thread Mark Ogden
It doesn't matter if it's part of the PATH because you are not running it in a shell. If you did 'sh java' then that would be strange! -- Save the whales. Collect the whole set. [EMAIL PROTECTED]http://homepage.ntlworld.com/pogden On Thu, 5 Oct 2000, Santosh Dawara wrote: > Christopher

Re: Linux and Java

2000-10-05 Thread Jason Janelle
Hello Nicolas, There is a Linux distribution of Java 1.3 and a Windows distribution, make sure you have the linux one for your linux box. Thursday, October 05, 2000, 12:22:24 PM, you wrote: NR> I downloaded Java jdk1.3 but when I read the system requierements it said NR> (winx) no Linux. D

Re: Events

2000-10-05 Thread Alex Sofronie
Hi! THIS means that you add an event listener to the group of event listeners of the event handling method of the class who has the scope there. In other words: the same way you add the button - add(button) - you have to add the actionListener to be handled by actionPerformed method of THIS clas

Re: Linux and Java

2000-10-05 Thread Alex Sofronie
I haven't seen this readme but I can tell you that the readme file for jdk 1.2 is the same for win and linux (it explains for the win platform the unix file paths...) Hope it helps, Maxx [EMAIL PROTECTED] - Original Message - From: Nicolas Raitman <[EMAIL PROTECTED]> To: Java <[EMAIL PR

Re: Tomcat + EJB ?

2000-10-05 Thread Jesus M. Salvo Jr.
...because Tomcat is a Servlet 2.2 + JSP 1.1 engine. Mohd Mokhtar wrote: > > Does Tomcat suppport EJB ? I could not found any word in Tomcat > documentation saying it have EJB capabilities. > > Anybody have ideas ? > > --= ahYeop =-- > > --

Events

2000-10-05 Thread Nicolas Raitman
Hi to all. I am very lost with handling events in Java, so I have some questions, suppose I have this: It is an applet. Of course, most of the code has been omitted. public void init() { Button button1; button1 = new Button("OK") add(button1); button1.addActionListener(this); // in the first pl

Linux and Java

2000-10-05 Thread Nicolas Raitman
I downloaded Java jdk1.3 but when I read the system requierements it said (winx) no Linux. Do I have to download another version of it in order to use under Linux? Thanks -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a

setEchoChar

2000-10-05 Thread Nicolas Raitman
Hi to all. I have been learning java for two days and I really find it interesting. I have a silly doubt but I cannot find an answer. If I do this: txtPassword.setEchoChar(‘*’); how can I set it back to normal? Thanks, Nicolas --

JMF2.1 on Linux release

2000-10-05 Thread Nick Herodotou
Hi, we wanted to find out when JMF2.1 for Linux FCS will become available. Is there a way we can get early access to a pre-release? We have been anxiously waiting for the release on Linux as JMF2.1 for the other platforms were shipped 5/00. Regards, Nick Herodotou, Entera, Inc. 40971 Encyc

Re: Runtime.getRuntime().exec(message);

2000-10-05 Thread Santosh Dawara
Christopher Smith wrote: > > --On Thursday, October 05, 2000 4:55 PM +0530 Santosh Dawara > <[EMAIL PROTECTED]> wrote: > > What if someone tried a > > Runtime.getRuntime().exec("java"); ? > > or Runtime.getRuntime().exec("javac"); > > > > I get an IOException for the same. > > Wheras, native appl

Re: Runtime.getRuntime().exec(message);

2000-10-05 Thread Christopher Smith
--On Thursday, October 05, 2000 4:55 PM +0530 Santosh Dawara <[EMAIL PROTECTED]> wrote: > What if someone tried a > Runtime.getRuntime().exec("java"); ? > or Runtime.getRuntime().exec("javac"); > > I get an IOException for the same. > Wheras, native applications (like "ls" and "clear") work fine.

Re: Runtime.getRuntime().exec(message);

2000-10-05 Thread Joi Ellis
Santosh Dawara wrote: > > Hi, > > What if someone tried a > Runtime.getRuntime().exec("java"); ? > or Runtime.getRuntime().exec("javac"); > > I get an IOException for the same. > Wheras, native applications (like "ls" and "clear") work fine. > > Whats the differance between the two calls ? >

Re: Runtime.getRuntime().exec(message);

2000-10-05 Thread Santosh Dawara
Hi, What if someone tried a Runtime.getRuntime().exec("java"); ? or Runtime.getRuntime().exec("javac"); I get an IOException for the same. Wheras, native applications (like "ls" and "clear") work fine. Whats the differance between the two calls ? Regards, Santosh. Nathan Meyers wrote: > >