J2EE Deployment

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Casey Rodgers

J2EE Deployment

Post by Casey Rodgers » Thu Aug 29, 2002 5:07 am

Can JFreeChart be used in a J2EE environment where you do not have the option of running an external process to emulate the X11 stuff.

I am going to try to use the PJA package. I will let you know how it turns out. But, any heads up would be greatly appreciated!


Thanks,


Casey

Achilleus Mantzios

Re: J2EE Deployment

Post by Achilleus Mantzios » Thu Aug 29, 2002 8:05 am

> Can JFreeChart be used in a J2EE environment where you do not have the option of running an external process to emulate the X11 stuff.

It is just that you need an X server running.
J2EE has absolutely nothing to do with X.
Apparently, you can use Jfreechart in Entity Beans,SFSBs, SLSBs, servlets, beans,
or any other java application you like.

I'd reccomend Xvfb solution instead of PJA.
Native code runs in the worst case as fast as java, if not any faster.

Casey Rodgers

Re: J2EE Deployment

Post by Casey Rodgers » Thu Aug 29, 2002 4:29 pm

Thanks Achilleus for the reply.

The problem is in a client's J2EE enviornment you do not have the option of running an extern process such as Xvfb. Is this not the case? Don't you have run the Xvfg as an extern process?

Thanks!

-- Casey

Achilleus Mantzios

Re: J2EE Deployment

Post by Achilleus Mantzios » Fri Aug 30, 2002 7:22 am

I dont get your point.
Can you please describe precisely your setup??

Casey Rodgers

Re: J2EE Deployment

Post by Casey Rodgers » Fri Aug 30, 2002 5:33 pm

Archilleus,

I am deploying a J2EE application to a client. The client is a fortune 500 company with very tight restrictions/security issues. They are running an HP Application Server on HP UX. The JDK version 1.3x. The server is running headless (no monitor, keyboard ...) .... no XServer is running. The application server has numerous 'production' deployed applications.

I have asked them if they could run Xvfb, but currently ... no reply.

Is there another solution?

Thank you for your time!!


-- Casey

Achilleus Mantzios

Re: J2EE Deployment

Post by Achilleus Mantzios » Mon Sep 02, 2002 9:04 am

Well if this company "accepts" free software/open source software
(which apparently is the case since they are running jfreechart),
then i dont see any reason why they souldn't run Xvfb
(which is written by xfree86 themselves!).

Alternatively, you could use PureJavaAWT.

Locked