Welcome to the Java Programming Forums

The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: need help urgent

  1. #1
    Junior Member
    Join Date
    Jan 2011
    Thanked 0 Times in 0 Posts

    Default need help urgent

    i have no experience working backend side,but now my company asked me to work on backend
    want to develope a proxy servlet which generates the response header and body in xml and implement
    an interface known as session lookup interface where it calls the proxyservlet on to url
    get a sessionid from url
    generate responses for sessioid in xml
    implement a sessionlookup interface which calls the servlet on same url where we got sessionid
    validation part is take care by rmi
    get sessionid from this url and post back to same url with
    HTTP Method: GET

    Form/Query Parameters
    Name Data Type Req’d Length Description
    sessionid String Yes The user’s emeta session id

    Type Name Description
    param Session-id-required The session id parameter is required.

    Status: HTTP-200 (Okay)
    Reason: Success
    Service-Ident: name-version
    Response Body:
    <?xml version="1.0" encoding="UTF-8"?>

    Status: HTTP-412 (Precondition Failed)
    Reason: One or more preconditions failed.
    Service-Ident: name-version
    Response Body: (see Common Status Response – type and name attributes given in Precondition section.)

    Status: HTTP-500 (Internal Server Error)
    Reason: An unexpected error occurred while processing the request
    Content-Type: text/plain
    Service-Ident: name-version
    Response Body:
    [Error description]
    [Optional troubleshooting info]


    Error Codes:

    Here are sample errors that should be returned by the service

    1. Session id Invalid

    <status type="param">
    <description>Precondition Failure</description>
    <entry name=”invalid-session-id">
    <value>The session id parameter is invalid.</value>

    2. Session id Missing

    <status type="param">
    <description>Precondition Failure</description>
    <entry name=”session-id-required">
    <value>The session id parameter is required.</value>

    3. Service Unavailable

    <status type="service">
    <description>Service Unavailable</description>
    <entry name=”service-unavailable">
    <value>The back end eMeta services are unavailable.</value>


  2. #2
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Washington, DC
    My Mood
    Thanked 636 Times in 540 Posts

    Default Re: need help urgent

    Honestly, what kind of responses are you expecting on getting to a post like this? You've violated just about every rule in the book, if there were a book on forum etiquette.

    See my signature on asking smart questions.
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

Similar Threads

  1. Help URGENT
    By javfifed in forum Java Theory & Questions
    Replies: 7
    Last Post: July 4th, 2010, 11:16 AM
  2. Urgent!!!!!!!!!!!!!!!!
    By dinesh03188 in forum JDBC & Databases
    Replies: 3
    Last Post: May 14th, 2010, 01:38 AM
    By macx234 in forum What's Wrong With My Code?
    Replies: 2
    Last Post: March 30th, 2010, 08:41 PM
  4. Need Urgent Help
    By sonai4u in forum Threads
    Replies: 2
    Last Post: February 13th, 2010, 08:24 PM
  5. Replies: 1
    Last Post: May 4th, 2009, 06:30 AM