Where does Jayrock fit?

62 views
Skip to first unread message

mthakershi

unread,
Aug 19, 2008, 4:09:33 PM8/19/08
to Jayrock
Hello, I come from client/server development background. I am mainly
using ATLAS and basic ASP.NET to develop my first web project. I
stumbled upon this page when looking for asynchronous methods. I feel
the implementation is excellent and example service is very
appropriate.

But I have one general doubt. Where does this fit? Can I say that when
I want some object from server (string, data table, data set, other
supported) from JavaScript, I can always use Jayrock service? If that
is the case then what do I do with a dataset that I receive from a
Jayrock service? Is there a way I can bind this to a GridView from
JavaScript?

Are there any other scenarios I can take advantage of Jayrock
functionality?

Does it work well with ATLAS or there are known issues?

I would really appreciate if someone can clear my doubt.

Atif Aziz

unread,
Aug 20, 2008, 3:03:34 AM8/20/08
to jay...@googlegroups.com
>>
Can I say that when
I want some object from server (string, data table, data set, other
supported) from JavaScript, I can always use Jayrock service?
<<

Yes.

>>
If that
is the case then what do I do with a dataset that I receive from a
Jayrock service? Is there a way I can bind this to a GridView from
JavaScript?
<<

Jayrock doesn't provide any client-side data-binding facilities. It is not a full-blown, end-to-end Ajax framework. You are free to use whatever library suits your palette for the client-side programming like jQuery, Prototype, Ext JS or another. The only bit of client-side JavaScript bit that Jayrock helps with is to provide a proxy for communicating with the service. The proxy comes with a default Ajax channel using XHR, but again, you can replace this channel with one of your liking.

For an example of using Jayrock on the server together with jQuery on the client, check out the live running example over at DotNetKicks (link to sources is included):

http://widgets.dotnetkicks.com/

> Does it work well with ATLAS or there are known issues?

Yes it works fine with ATLAS because it doesn't require it or interact with it. :) There are no known issues at this time. Any integration with ATLAS is up to you.

> I would really appreciate if someone can clear my doubt.

Hope this clears up things a bit.

Krause

unread,
Aug 28, 2008, 11:10:28 AM8/28/08
to Jayrock

My usage scenario is ExtJS in the front end, Jayrock as a remoting
service and Spring.NET + NHibernate in the back end.
Actually I'm just starting evaluating Jayrock as I'm trying to
replicate my current Java architecture which is ExtJS + DWR + Spring +
Hibernate for some projects that we need to develop in .Net.

Regards
Reply all
Reply to author
Forward
0 new messages