OpenQNX :: The QNX Community Portal

Jul 05, 2008 - 12:05 AM
Google
  Web openqnx.com   
     Create an account Home · Submit News · QNX Forums · QNX Download · Search   
_
Main Menu
Who's Online
There are 85 unlogged users and 0 registered users online.

You can log-in or register for a user account here.

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
David Porta
Post subject: apache 1.3.27 and applet  PostPosted: Oct 10, 2007 - 10:49 AM
Guest





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
 
   
Reply with quote Back to top
maschoen
Post subject: RE: apache 1.3.27 and applet  PostPosted: Oct 11, 2007 - 02:57 PM
QNX Master


Joined: Jun 25, 2003
Posts: 1027

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.
 
 View user's profile Send private message Send e-mail Visit poster's website  
Reply with quote Back to top
Igor Kovalenko
Post subject: Re: apache 1.3.27 and applet  PostPosted: Oct 11, 2007 - 04:43 PM
Guest





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...
Quote:
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.
 
   
Reply with quote Back to top
Igor Kovalenko
Post subject: Re: apache 1.3.27 and applet  PostPosted: Oct 11, 2007 - 04:44 PM
Guest





Oops, scratch that, I thought about servlets ;)

"Igor Kovalenko" <kovalenko@comcast.net> wrote in message
news:feljpv$728$1@inn.qnx.com...
Quote:
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.


 
   
Reply with quote Back to top
David Porta
Post subject: Re: apache 1.3.27 and applet  PostPosted: Oct 15, 2007 - 07:22 AM
Guest





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...
Quote:
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.
 
   
Reply with quote Back to top
maschoen
Post subject: RE: Re: apache 1.3.27 and applet  PostPosted: Oct 15, 2007 - 04:25 PM
QNX Master


Joined: Jun 25, 2003
Posts: 1027

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.
 
 View user's profile Send private message Send e-mail Visit poster's website  
Reply with quote Back to top
David Porta
Post subject: Re: Re: apache 1.3.27 and applet  PostPosted: Oct 16, 2007 - 10:29 AM
Guest





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...
Quote:
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.
 
   
Reply with quote Back to top
maschoen
Post subject: RE: Re: Re: apache 1.3.27 and applet  PostPosted: Oct 16, 2007 - 03:41 PM
QNX Master


Joined: Jun 25, 2003
Posts: 1027

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.
 
 View user's profile Send private message Send e-mail Visit poster's website  
Reply with quote Back to top
David Porta
Post subject: Re: Re: Re: apache 1.3.27 and applet  PostPosted: Oct 17, 2007 - 02:53 PM
Guest





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...
Quote:
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.
 
   
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
All logos and trademarks in this site are property of their respective owners. The comments are property of their posters.
Powered by OpenQNX: The QNX Community Portal Site
QNX and the QNX logo are registered trademarks of QNX Software Systems.