D
Devnet
Hi all,
I've been a Notes developer for years but I am trying to move into the J2EE
world.
Essentially I want to capture data from a web form, format the data into an
XML stream, send the stream to a server, receive the response and display in
the browser.
I've broken it down into parts while I am learning. I've created the form in
a JSP, I click a button and it creates the XML file, I then manually run a
java program which sends the file to a remote server, I receive the response
and then manually display in the browser.
OK, so now I want to automate this and separate the presentation from the
business logic etc, which is where I'm stuck. Should I use a Java Bean, EJB,
a Servlet or some other way to take the form data and create the XML stream
and send to the server? Is a JSP page the best thing to use for this?
Any advice is greatly appreciated.
Regards,
Michael
I've been a Notes developer for years but I am trying to move into the J2EE
world.
Essentially I want to capture data from a web form, format the data into an
XML stream, send the stream to a server, receive the response and display in
the browser.
I've broken it down into parts while I am learning. I've created the form in
a JSP, I click a button and it creates the XML file, I then manually run a
java program which sends the file to a remote server, I receive the response
and then manually display in the browser.
OK, so now I want to automate this and separate the presentation from the
business logic etc, which is where I'm stuck. Should I use a Java Bean, EJB,
a Servlet or some other way to take the form data and create the XML stream
and send to the server? Is a JSP page the best thing to use for this?
Any advice is greatly appreciated.
Regards,
Michael