When you start looking at this sort of thing, you can't really think about it
in terms of controls (.NET specific implementation) or servlets
(java-spesific implementation);
Try looking at it as a web service that takes some number of arguments as
inputs and returns a string for its output.
You're not going to have the luvury of working with postbacks, therefore,
you won't be able to use the even model exposed by the .NET framework (e.g.
you render a button and something happens as a result of that button) since
whatever xHTML you're emitting will not be able to contact the original web
service.
If you do need someething more functional, you could probably try leveraging
AJAX. no reason you can have a client script calling your web service.
"jaydev" wrote:
Hello,
I want to create a header and footer control which will be used in
both the java and .net application. We are planning to create a
webservice for this in C#. I am familiar in creating a webservice , but
not sure how to create something compatible for java team (J2EE). Java
team needs to output of webservice in XHTML, CSS and javascript format.
Please throw some light on this.
Thanks,
Jay