Skip navigation.
Home
The QNX Community Portal

View topic - apache 1.3.27 and applet

apache 1.3.27 and applet

Read-only archive of qnx.cafe (generail discussion forum) at inn.qnx.com

apache 1.3.27 and applet

Postby David Porta » Wed Oct 10, 2007 10:49 am

Hi,

My Qnx Neutrino system is configured as a web server using apache (version
1.3.27). I want to send an applet to a windows web client with the typical
html code:
...
</applet>
<APPLET archive="mysqlclient.jar" code="Appdbclient.class" width=200
height=100>
</APPLET>
...
witch is working fine, locally in the windows machine

Is this supported Qnx+Apache+Applet?

Thanks,

David
David Porta
 

RE: apache 1.3.27 and applet

Postby maschoen » Thu Oct 11, 2007 2:57 pm

Supported in the sense that QNX tests this to make sure it works? No.
Should and does it usually work, yes. Apache 1.3.27 is a bit old.
I'm working now with the pkgsrc group, and I've just gotten a very
recent 2.2 something version finished.

I think the applet part is a no-brainer. Apache is just delivering
the file mysqlclient.jar via the browser to the clients java machine.
Presumably the purpose of this is to look back at a MySQL database
on the host, but that is another issue entirely.
maschoen
QNX Master
 
Posts: 2640
Joined: Wed Jun 25, 2003 5:18 pm

Re: apache 1.3.27 and applet

Postby Igor Kovalenko » Thu Oct 11, 2007 4:43 pm

Applets execute on the server side. You need to have Java VM installed on
QNX, then it will work. If they talk to a database, you will need a JDBC
driver...

"maschoen" <maschoen@pobox-dot-com.no-spam.invalid> wrote in message
news:felh9s$5cp$1@inn.qnx.com...
Supported in the sense that QNX tests this to make sure it works?
No.
Should and does it usually work, yes. Apache 1.3.27 is a bit old.
I'm working now with the pkgsrc group, and I've just gotten a very
recent 2.2 something version finished.

I think the applet part is a no-brainer. Apache is just delivering
the file mysqlclient.jar via the browser to the clients java machine.
Presumably the purpose of this is to look back at a MySQL database
on the host, but that is another issue entirely.
Igor Kovalenko
 

Re: apache 1.3.27 and applet

Postby Igor Kovalenko » Thu Oct 11, 2007 4:44 pm

Oops, scratch that, I thought about servlets ;)

"Igor Kovalenko" <kovalenko@comcast.net> wrote in message
news:feljpv$728$1@inn.qnx.com...
Applets execute on the server side. You need to have Java VM installed on
QNX, then it will work. If they talk to a database, you will need a JDBC
driver...

"maschoen" <maschoen@pobox-dot-com.no-spam.invalid> wrote in message
news:felh9s$5cp$1@inn.qnx.com...
Supported in the sense that QNX tests this to make sure it works?
No.
Should and does it usually work, yes. Apache 1.3.27 is a bit old.
I'm working now with the pkgsrc group, and I've just gotten a very
recent 2.2 something version finished.

I think the applet part is a no-brainer. Apache is just delivering
the file mysqlclient.jar via the browser to the clients java machine.
Presumably the purpose of this is to look back at a MySQL database
on the host, but that is another issue entirely.


Igor Kovalenko
 

Re: apache 1.3.27 and applet

Postby David Porta » Mon Oct 15, 2007 7:22 am

Thanks,

It is working now on windows side (class definition error in my html code).
Yes, it seems that Apache is just delivering my jar file and windows is
using it with its virtual machine....I didn't need to install any virtual
machine in Qnx side.

My next step is to execute it in the qnx side with the voyager browser. Is
there any virtual machine supported for the qnx. I've heard about a j9 but I
cannot find it anymore in the IBM web site. Any experience?

"maschoen" <maschoen@pobox-dot-com.no-spam.invalid> escribió en el mensaje
news:felh9s$5cp$1@inn.qnx.com...
Supported in the sense that QNX tests this to make sure it works?
No.
Should and does it usually work, yes. Apache 1.3.27 is a bit old.
I'm working now with the pkgsrc group, and I've just gotten a very
recent 2.2 something version finished.

I think the applet part is a no-brainer. Apache is just delivering
the file mysqlclient.jar via the browser to the clients java machine.
Presumably the purpose of this is to look back at a MySQL database
on the host, but that is another issue entirely.
David Porta
 

RE: Re: apache 1.3.27 and applet

Postby maschoen » Mon Oct 15, 2007 4:25 pm

I've heard of two different Java machines on QNX from QNX, j9 was the first, and I can't remember the name of the 2nd,
although I think it is what is running Eclipse these days.
I've also run into some vendors at trade shows that provided Java solutions.
As far as having Java work with a browser, I don't think there is much chance.
What you really would want is Sun to port their machine and libraries to QNX.
I suspect that will not happen in the near future.
One problem with j9 was that the QNX version didn't support Swing.
Given its structure, I don't know why getting Swing to work would be a big deal, but it seems that it is.
maschoen
QNX Master
 
Posts: 2640
Joined: Wed Jun 25, 2003 5:18 pm

Re: Re: apache 1.3.27 and applet

Postby David Porta » Tue Oct 16, 2007 10:29 am

Thanks maschoen,

yes, I've tried this j9 and pvm. Up to now I've compiled some projects with
jikes but it seems to do not support Swing and Awt....Also some problems
because it is an old version, no documentation, j9 downloads not available
(just from some unofficial links), nothing in the IBM site (old links from
the qnx site), etc

I think that there's a voyager plugin for j9 but I don't like when I have
the feeling that nobody is using it....I think I will stop with this java
and Qnx and focus a little bit more on the Windows client side...



"maschoen" <maschoen@pobox-dot-com.no-spam.invalid> escribió en el mensaje
news:ff09pt$jb8$1@inn.qnx.com...
I've heard of two different Java machines on QNX from QNX, j9 was the
first, and I can't remember the name of the 2nd,
although I think it is what is running Eclipse these days.
I've also run into some vendors at trade shows that provided Java
solutions.
As far as having Java work with a browser, I don't think there is much
chance.
What you really would want is Sun to port their machine and libraries
to QNX.
I suspect that will not happen in the near future.
One problem with j9 was that the QNX version didn't support Swing.
Given its structure, I don't know why getting Swing to work would be a
big deal, but it seems that it is.
David Porta
 

RE: Re: Re: apache 1.3.27 and applet

Postby maschoen » Tue Oct 16, 2007 3:41 pm

It's hard to believe that it doesn't support AWT. Without it, I don't think Eclipse would work. I don't think that just AWT will be helpful in a browser. It gained the reputation of, "write once, debug many times", because it's features translated to the local GUI's features.
maschoen
QNX Master
 
Posts: 2640
Joined: Wed Jun 25, 2003 5:18 pm

Re: Re: Re: apache 1.3.27 and applet

Postby David Porta » Wed Oct 17, 2007 2:53 pm

Yes, I suspect that anything is possible. The fact is that eclipse is
working fine in my host (with pvm)...but the pain is to find documentation,
compiler,etc
This is the Step 0!


"maschoen" <maschoen@pobox-dot-com.no-spam.invalid> escribió en el mensaje
news:ff2n4h$bf8$1@inn.qnx.com...
It's hard to believe that it doesn't support AWT. Without it, I
don't think Eclipse would work. I don't think that just AWT will be
helpful in a browser. It gained the reputation of, "write once,
debug many times", because it's features translated to the local
GUI's features.
David Porta
 


Return to qnx.cafe

Who is online

Users browsing this forum: No registered users and 2 guests