Results 1 to 4 of 4
  1. #1
    udayraj is offline Member
    Join Date
    Apr 2009
    Posts
    2
    Rep Power
    0

    Post Need ideas to implement one requirement

    I need ideas to implement this requirement ...Create a Bean, which should activate upon receipt of a message with attachment. Extract the attachment (say .xml), based on the information a class should dynamically be loaded and persist the information to the implemented layer. Please provide your valid suggestions.

  2. #2
    masijade is offline Senior Member
    Join Date
    Jun 2008
    Posts
    2,571
    Rep Power
    9

    Default

    What sort of "message"? What sort of "Bean"?

    Normally a Servlet of some kind retreives the "message" and then calls/uses whatever Beans are necessary to accomplish it's job.

    Somehow, or another, I believe you are Manoj.Java from suns forums, who is currently asking "differnet ways to load a class", but refuses to say what he is doing so that he actually be helped.

  3. #3
    udayraj is offline Member
    Join Date
    Apr 2009
    Posts
    2
    Rep Power
    0

    Default

    Quote Originally Posted by masijade View Post
    What sort of "message"? What sort of "Bean"?

    Normally a Servlet of some kind retreives the "message" and then calls/uses whatever Beans are necessary to accomplish it's job.

    Somehow, or another, I believe you are Manoj.Java from suns forums, who is currently asking "differnet ways to load a class", but refuses to say what he is doing so that he actually be helped.
    hi thanks for your reply .. here its a java bean .. and the attachment is xml which contains the information of different classes .. this information should be used to load the classes dynamically..

  4. #4
    masijade is offline Senior Member
    Join Date
    Jun 2008
    Posts
    2,571
    Rep Power
    9

    Default

    Okay? And? What XML, and what do you mean by "load the classes dynamically[/i]? You do realiase that that phrase is both meaningless and redundant, right? As all classes are only loaded as needed, so they are, per default "loaded dynamically".

    What is the content of the XML? Is it a class definition? Is it a serialised Instance of some class? Is it a regular text message that needs to take varying processing paths depending on the content and context?

Similar Threads

  1. out of ideas
    By v1nsai in forum New To Java
    Replies: 2
    Last Post: 03-27-2009, 01:35 AM
  2. Research Ideas
    By hawaiifiver in forum Forum Lobby
    Replies: 2
    Last Post: 02-03-2009, 04:43 AM
  3. urgent requirement...regarding process
    By LakshmiSireesha in forum New To Java
    Replies: 2
    Last Post: 01-15-2009, 03:55 PM
  4. Replies: 0
    Last Post: 05-25-2008, 05:35 AM
  5. Requirement for Technical Professionals
    By deepak_yoganishta in forum Jobs Offered
    Replies: 0
    Last Post: 02-04-2008, 01:08 PM

Posting Permissions

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