Hello!
I have built numerous webapps in php/mysql over the years that allow insert/modify/delete of db content...however, I am having some difficulty wrapping my brain around the java approach... I'm still not clear on what a "flow-chart" of the process would look like..(i.e. jsp form > servlet > bean > servlet > db > bean > servlet > jsp display ???)
Can anyone point me to a very simple example (employee data, cd collection, event calendar, etc...) that could help make this clear for me?
I had the j2ee structure thrust upon me due to my company purchasing websphere and all anyone could tell me was that I need to use the following code
****
InitialContext ctx = new InitialContext();
ds = (DataSource) ctx.lookup("java:comp/env/xxxxxx");
****
I guess I'll still need to figure out the necessary "package imports" and all the "exception handling", but I'm hoping to find something that will allow me to "drop in" this code and make minor edits to the db queries (which I DO understand...)
All replies will be greatly appreciated -- Thanks in advance!!!
I have built numerous webapps in php/mysql over the years that allow insert/modify/delete of db content...however, I am having some difficulty wrapping my brain around the java approach... I'm still not clear on what a "flow-chart" of the process would look like..(i.e. jsp form > servlet > bean > servlet > db > bean > servlet > jsp display ???)
Can anyone point me to a very simple example (employee data, cd collection, event calendar, etc...) that could help make this clear for me?
I had the j2ee structure thrust upon me due to my company purchasing websphere and all anyone could tell me was that I need to use the following code
****
InitialContext ctx = new InitialContext();
ds = (DataSource) ctx.lookup("java:comp/env/xxxxxx");
****
I guess I'll still need to figure out the necessary "package imports" and all the "exception handling", but I'm hoping to find something that will allow me to "drop in" this code and make minor edits to the db queries (which I DO understand...)
All replies will be greatly appreciated -- Thanks in advance!!!