Results 1 to 2 of 2
  1. #1
    piwi is offline Member
    Join Date
    Apr 2013
    Posts
    1
    Rep Power
    0

    Default Portal web service for home automation with JSF

    Hello,

    I want to develop a web portal for home automation devices with JSF.
    With JSF I want develop the user, admin interface e.g. to register devices like power meter, sensors, .... to get the current state....
    Most of the meters, sensor devices I am using have IPv4, 6LoWPAN support.

    However what is the best way to develop web services like HTTP data retriever, receiver, sender for each of the registered devices
    e.g.
    -to retrieve HTTP,XML data from an embedded web server continuously ~1minute interval
    -to send HTTP messages to a CGI script to turn on a relay
    -to receive HTTP data from an external client.

    Is it also possible to use JSF or do I have to use any other JAVA EE service?

    Cheers,
    Piwi

  2. #2
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    4,098
    Rep Power
    6

    Default Re: Portal web service for home automation with JSF

    No JSF is not intended to be used to do these things; JSF is a web framework, it's task is to produce nice web interfaces and to respond to events triggered in them. It is not an all-in-one toolbox, that's the Java runtime. You should look more to your application server for the scheduling features, most of them will have a scheduler service built in. If not you can always use Quartz.

    > to receive HTTP data from an external client
    That's a bit vague. Web applications don't receive HTTP data, web servers do. You are free to implement for example a servlet or a JAX-RS webservice which can be invoked by external clients.

Similar Threads

  1. how to call service method inside another service
    By kirtichopra2003 in forum Web Frameworks
    Replies: 1
    Last Post: 10-24-2009, 02:19 AM
  2. Make money from home, Home Typing Data Entry Partnerships
    By arturmoniswork in forum Reviews / Advertising
    Replies: 0
    Last Post: 12-30-2008, 05:55 AM
  3. Portal sap with java
    By Nick15 in forum Advanced Java
    Replies: 1
    Last Post: 06-04-2007, 03:04 PM
  4. Jboss Portal
    By Nick15 in forum Advanced Java
    Replies: 0
    Last Post: 05-31-2007, 03:33 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •