Win a copy of Head First Android this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

Application Architecture help needed

 
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am designing a client server application. Server is J2EE based. At client side/site I have some hardware which generates an xml. What I need is that this xml is transferred to my server and server updates this information to live pages. Client side is a remote place and may or may not have internet access but do have mobile access with wap. Machine generated xml can be retrieved on a computer and we can connect a wap enabled phone to the computer at client side/site.
Please help me in terms of what technologies and API's should I use to make this solution. Keep in mind that server should be able to send back an xml as response which should eventually reach to hardware on a com port. Manageability, maintainability and scalability are important. Web server should be available on normal web url.

I need to know what java/JEE technologies can be used and what should be overall components of system.

This question is not related to SCEA but I think people in this forum can best help me in above problem.
 
Bartender
Posts: 6663
5
MyEclipse IDE Firefox Browser Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

This question is not related to SCEA but I think people in this forum can best help me in above problem.



Which is why this post belongs to one of the java in general forums.

Your question is vague in some places and I think it would be better if you can explain to us what the scenario is in real life.
 
Jalal ud Din
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There are some tubewells operated in remote villages. Client want to monitor their current operation status on web. Idea is that electric motor status (speed, current and water pressure) statuses can be retrieved using some hardware cards and can be sent to a serial port. A computer will be installed on tube well site which will take this serial input an will convert this xml and can/amy use wap to send this xml to a web server. if You cobmbine this post with above post then it may clear the problem.
 
Deepak Bala
Bartender
Posts: 6663
5
MyEclipse IDE Firefox Browser Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Jalal,

That cleared things a bit. It also looks like you want to be able to control the motor from the web. Making a XML from your serial port data should not be too hard. I think things would be much simpler if you have access to the web via the computers near the wells. If that is not possible I was thinking something along the lines of

well ->> computer ->> wap phone ->> web server ->> update some tables

You can then see the data from these tables via the web. To send data back update a table with data that specifically identifies one of the remote wells with a command. Something like...

well24 COMMAND_INCREASE 2.1

That would be read as increase the voltage to the motor on the 24th well by 2.1 volts. An application written on your phone can invoke a servlet every now and then to check if there are any commands that it needs to process. If there are then it gets the command details and passes them on to the computer which then operates the motor as desired. What do you think ?
 
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Moving this thread to Java in General forum.
 
Jalal ud Din
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What Java technology/framework/api I should use to send xml to webserver?
 
Deepak Bala
Bartender
Posts: 6663
5
MyEclipse IDE Firefox Browser Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can always stream it via HTTP or HTTPS
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic