[ale] PHP vs. J2EE

Jason Day jasonday at worldnet.att.net
Wed Mar 19 15:53:40 EST 2003


On Wed, Mar 19, 2003 at 03:32:26PM -0500, Chris Fowler wrote:
> I'm looking at solving a simple problem with a simple solution.  Problem
> is that I'm not sure of what language to use.  The only benefti of J2EE
> is that I can have back end agents in Java collecting data.  Then the
> web app can communicate with the agents to get that data.  I see PHP as
> a way to insert dynamic code into a static web page that executes when
> the server loads the web page.  Is this the correct view of each.

What do you mean by "back end agents in Java collecting data"?  Do you
mean you have existing Java code that runs in a J2EE container, or do
you have an app server that has some kind of support for agents written
in Java, or something else?  I guess what I'm asking is, why must the
agents be written in Java?

> 
> I really want an agent collecting data and the web interface collecting
> info from the agent.  the agent will communicate with 100 devices.  I do
> not want the PHP to have to communicate with 100 devices when a user
> hits the refresh button.  What are my options?

Can the agents dump their data into a database?  Then you can write PHP
that just hits the db.

-- 
Jason Day                                       jasonday at
http://jasonday.home.att.net                    worldnet dot att dot net
 
"Of course I'm paranoid, everyone is trying to kill me."
    -- Weyoun-6, Star Trek: Deep Space 9
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale






More information about the Ale mailing list