470,632 Members | 2,532 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,632 developers. It's quick & easy.

Webservice for J2EE & .NET application

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

Jul 17 '06 #1
1 1220
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

Jul 31 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Jean Paul | last post: by
2 posts views Thread by Silvana Di Martino | last post: by
1 post views Thread by jaydev | last post: by
1 post views Thread by jaydev | last post: by
2 posts views Thread by gundam.f0rtre55 | last post: by
dmjpro
3 posts views Thread by dmjpro | last post: by
dmjpro
9 posts views Thread by dmjpro | last post: by
1 post views Thread by Korara | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.