I am looking for a way to create applets with JDeveloper/ADF which only use http to communicate with their serlevts, since I want to use them from behind a firewall. Would ValueObjects enable me to do that?
Thanks for your time.
Regards,
pb
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes you can. ValueObjects can be exchanged using any serialization method, you can use it in your servlet. However, since your applet will be a client side component, to avoid custom marshalling, I would recommend using SOAP web services. SOAP uses HTTP is more standards compliant.
Instead of writing a J2EE servlet that puts valueobjects in request, build your servlet as a J2EE web service and put a SOAP client in your applet. This opens up doors for futher expansion and integration.
Follow the VO tutorial on SF.net and the J2EE web services tutorials on oracle.com/technology.
Hope this helps,
- Zak
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for your message. I hope VO will work for me!
I have two more pressing questions before I throw myself into the tutorials :)...
Is it still possible to use all the adf/JClient features (bindings, etc.) when using VO with SOAP?
Roughly how much more effort/time is required to create an applet with a soap client, vo and a corresponding J2EE web service vs. creating an applet with the same functionality as a standard ADF/JClient applet?
Thanks in advance!
pblue
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sorry for the delay. I just got back from vacation.
ADF has framework-level support for JavaBeans. VOs function as standard JavaBeans (or POJOs). In JDeveloper 10g, you can right click on a class that contains a collection (say ArrayList) of VOs and generate ADF binding. Once you have the binding, you can use the rest of ADF controls and UI models just like you would with ADF Business Components.
I have not worked with JClient so I really can't answer your question regarding level of effort. In theory, the high-level ADF classes shouldn't care or know about the low-level binding. I know working with VO and SOAP is pretty much point and click in 10g, both provider and consumer side. Your applet would consume the web service and work with the stub generated classes (make them extend ValueObject to get the rest of VO features).
Hope this helps.
- Zak
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi!
I am looking for a way to create applets with JDeveloper/ADF which only use http to communicate with their serlevts, since I want to use them from behind a firewall. Would ValueObjects enable me to do that?
Thanks for your time.
Regards,
pb
Hello,
Yes you can. ValueObjects can be exchanged using any serialization method, you can use it in your servlet. However, since your applet will be a client side component, to avoid custom marshalling, I would recommend using SOAP web services. SOAP uses HTTP is more standards compliant.
Instead of writing a J2EE servlet that puts valueobjects in request, build your servlet as a J2EE web service and put a SOAP client in your applet. This opens up doors for futher expansion and integration.
Follow the VO tutorial on SF.net and the J2EE web services tutorials on oracle.com/technology.
Hope this helps,
- Zak
Thanks for your message. I hope VO will work for me!
I have two more pressing questions before I throw myself into the tutorials :)...
Is it still possible to use all the adf/JClient features (bindings, etc.) when using VO with SOAP?
Roughly how much more effort/time is required to create an applet with a soap client, vo and a corresponding J2EE web service vs. creating an applet with the same functionality as a standard ADF/JClient applet?
Thanks in advance!
pblue
pblue,
Sorry for the delay. I just got back from vacation.
ADF has framework-level support for JavaBeans. VOs function as standard JavaBeans (or POJOs). In JDeveloper 10g, you can right click on a class that contains a collection (say ArrayList) of VOs and generate ADF binding. Once you have the binding, you can use the rest of ADF controls and UI models just like you would with ADF Business Components.
I have not worked with JClient so I really can't answer your question regarding level of effort. In theory, the high-level ADF classes shouldn't care or know about the low-level binding. I know working with VO and SOAP is pretty much point and click in 10g, both provider and consumer side. Your applet would consume the web service and work with the stub generated classes (make them extend ValueObject to get the rest of VO features).
Hope this helps.
- Zak