File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Learning Java and AJAX

 
Joyce Hughes
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Prabhaker,

I am a novice at java. I have come from the mainframe programming arena (specifically MUMPS or M)

Java is definitely on the opposite side of the spectrum.

Now that I am learning java, (and it has been a struggle,)what is different in AJAX and how much longer will it take me to finally tweak my brain to incorporate this too. Thanks for your input.

[Edit to provide meaningful topic]
[ April 03, 2007: Message edited by: David O'Meara ]
 
Anonymous
Ranch Hand
Posts: 18944
  • 0
  • send pies
  • Quote
  • Report post to moderator
Hello Prabhakar:

Since GWT is the framework used by Google for their AJAX applications, I think that you can address a question that I have about AJAX itself.

It is great to have gtalk inside the gmail window without software installing, but, once I had a sniffer record the traffic with only gmail opened in firefox, and it goes up to 500 request per minute. Well, suppose that I have gmail open for about 4 hours and thanks to heaven nobody talks or write to me in that time, and I can work... there you have 120K wasted requests. Now, if AJAX has the success that it appears it will, multiply by the 1000 million potential users of the internet... here you have 120E10 wasted requests...

1 request = 2k? (for the minimum of the Ethernet Packet)

mmm, about 24.5 terabytes of wasted bandwidth... in 4 hours...

Don't you think that a bright student of a third world country can use a little bit of that bandwidth?? Can you waste it just because you want to "mimic" desktop behavior with awesome technology (GWT-AJAX) over a request response based protocol??? Does the internet infrastructure even support that load?

IMHO we should make Desktop Apps and let the web for the no interactive reports.

Thanks in advance for the response.
 
Jignesh Patel
Ranch Hand
Posts: 626
Mac
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Don't you think that a bright student of a third world country can use a little bit of that bandwidth?? Can you waste it just because you want to "mimic" desktop behavior with awesome technology (GWT-AJAX) over a request response based protocol??? Does the internet infrastructure even support that load?


Very interesting and good thoughts.
 
Vaibhav Karkhanis
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Prabhakar,
I just wanted to know some scenarios where normal submission of page using the conventional way (like clicking of button,hyperlink etc), would be a better option than using Ajax.


Thank you
 
Vladimir Shcherbina
Greenhorn
Posts: 22
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Prabhakar,

How can I extend GWT in order to include additional libraries to it. Doues your book address this issue?
Regards,
Vladimir
 
Prabhakar Chaganti
author
Ranch Hand
Posts: 50
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
GWT uses the concept of modules for packaging and using functionality. In thi book we create two custom widgets - calendar and weather, and use them in a separate project.
 
ankur rathi
Ranch Hand
Posts: 3830
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Pedro Solorzano:
Hello Prabhakar:

Since GWT is the framework used by Google for their AJAX applications, I think that you can address a question that I have about AJAX itself.

It is great to have gtalk inside the gmail window without software installing, but, once I had a sniffer record the traffic with only gmail opened in firefox, and it goes up to 500 request per minute. Well, suppose that I have gmail open for about 4 hours and thanks to heaven nobody talks or write to me in that time, and I can work... there you have 120K wasted requests. Now, if AJAX has the success that it appears it will, multiply by the 1000 million potential users of the internet... here you have 120E10 wasted requests...

1 request = 2k? (for the minimum of the Ethernet Packet)

mmm, about 24.5 terabytes of wasted bandwidth... in 4 hours...

Don't you think that a bright student of a third world country can use a little bit of that bandwidth?? Can you waste it just because you want to "mimic" desktop behavior with awesome technology (GWT-AJAX) over a request response based protocol??? Does the internet infrastructure even support that load?

IMHO we should make Desktop Apps and let the web for the no interactive reports.

Thanks in advance for the response.



Your thoughts are revolutionary.

I just wonder why it went so silently.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64194
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by ankur rathi:
I just wonder why it went so silently.

Perhaps because it's obviously a troll that makes no sense?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic