Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

I need some help for application architecture+design  RSS feed

 
Aboo Bolaky
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello all
i need some help from u guys..
im actually about to design a distributed service provider across a LAN..users register at a service provider server and then receive messages through their pc..eg. soccer results,alert system (like...send me a msg to my pc telling me that i need to check my mail at 16:30 on 03/10/2004...basically this involves creating a server which actually implements the services and monitor each user logging on the client side..i have to build the system using java...
i would rather opt to use JMS with the publish subscribe model in the J2EE environment..i have downloaded the SunOne application server bundle which includes Sun Message Queue as JMS provider. i can run examples clearly on the same machine..even the pub sub examples..when when it comes to different machines on a network, i cant figure out how to do it...and i can say that there is not enough documentation for that.
my server program will be on a pc that hosts the application server and the jms provider.then the clients (possibly a swing application: clients on different machines on a LAN) will connect to the server and then receive the messages...i m going to use message driven beans...but are there any additional configs on the client side?i mean i dont need the jms provider on the client side or the application server..is there a way so that i can address remote object through JNDI? because i want the client to be as thin as possible..i mean if i run the clients on 5 machines...doesnt mean that i have to install the application server and JMS provider on 5 machines??
im at loss...can you plz give me some light about how to design the system?
thx a lot in advance..
 
Ade Barkah
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Aboo,
You will not need to run an application server or JMS provider on each client machine! Each client simply needs access to one or two small jar files in order to communicate to the JMS server.
Which jar files are required depends on the appserver; for SunOne I believe you'll need to distribute jms.jar and imq.jar with the client. You can find additional information from the SunONE MQ Developer's Guide.
-Ade Barkah
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!