Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

DWR or jquery

 
Padma Priya
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I am new to the ajax technology. I am basically a java/j2ee developer who would like to design a front end with ajax and this fron end should actively interact with middle layer which is implemented using java,jsp and specifically EJB3.0.

Which Ajax frame work can be best suited for this purpose DWR or Jquery.

Could anyone point me to some online articles or tutorials which deal with specifically Ajax and EJB3.0.

Thanks in advance

With regards
Deepthi
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
They're pretty different libraries, and I'm not sure what kind of information you're looking for regarding EJB and Ajax--they're not really directly related.

Could you be a bit more specific about what you're trying to accomplish?
 
Padma Priya
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi David,

Thanks for your prompt reply.

What i am looking for is i have a front end using ajax and the middle layer coded in Ejb3.0. For the results of the business logic to be displayed on the front end what can be the method that can be used to bring about this purpose. Since you said that Ajax and Ejb3.0 are in no way related, so what can be the intermediary technologies that can be used to do so. My calculated guess would be JSF. Could you correct me if i am wrong.

I am trying to get a high level picture of which technology goes where(presentation or middle or backend) and how they can be integrated with each other. With So many frameworks out there its a bit confusing.

Thank you
With Regards
deepthi
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65225
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JSF?

Ajax just makes requests like any other. What David was saying is that you don't need anything special on the server to be able to use Ajax.
 
Padma Priya
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

All i want to know is "Is Ajax capable of accessing EJB stateless session bean?" If so how?

Sorry if its a lame question but as i have already said i am new ajax.

Thank you
With Regards
Deepthi
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65225
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How are you accessing them now? How is your system currently handing HTTP requests? The point is, whatever you are using now will work with Ajax requests just the exact same way as any other HTTP request. The fact that the request was initiated with Ajax is completely moot.
 
Padma Priya
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I understand it now. Could you tell me which ajax frameworks are really useful for the java developers DWR or Jquery. what will be your best bet. Actually i am in lookout for jobs in java/j2ee platform and want to learn ajax frameworks but don't have enough time to study both.

Thank you
 
Padma Priya
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Are there any good books out there which concentrate on Ajax development with java. I found one book "Ajax on Java." but looking out for more.

Its becoming increasing frustrating because all the javascript/ajax books that i came across have other server side technologies rather than java.

Thank you
 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Deepthi Tirunahari wrote:Hi,

Are there any good books out there which concentrate on Ajax development with java. I found one book "Ajax on Java." but looking out for more.

Its becoming increasing frustrating because all the javascript/ajax books that i came across have other server side technologies rather than java.

Thank you

Dear, it doesn't matter what is running on the server whether its Java, C++, Ruby or even a Fembot able to handle HTTP requests.
Just get a book that discusses Ajax in general and the concept is the same for whatever live and eat on the server.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65225
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually it does rather matter because DWR is Java-specific.

Personally, I find DWR too niche for my tastes. What John said is true of jQuery -- it's completely independent of the server platform.
 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bear Bibeault wrote:Actually it does rather matter because DWR is Java-specific.

Personally, I find DWR too niche for my tastes. What John said is true of jQuery -- it's completely independent of the server platform.

Yes, I was talking about Ajax in general not about platform specific toolkit.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic