Win a copy of Head First Android this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

Increasing performance by using DHTML in JSP

 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

Please let me know is there any way to increase the performance of a J2EE application by using DHTML which minimizes server connections by using div which will send div to server and get back the response.The server hits should
be minimum.Front end is JSP and back end is Oracle.


Thanks in advance !

Atul....
 
Sheriff
Posts: 67595
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The technology you seek is known as Ajax, and is discussed in the HTML/Javascript forum. I've moved this post there for you.
 
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There are 2 ways to do what you want. IFrames, and Ajax. Netiher of which are really DHTML. And niether are really specific to JSPs so I am moving this to the HTML/Javascript forum.
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Doh!
 
Atul Oberoi
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Gregg!

The things are pretty different here. We gotta one JSP page which has lot of sections. Now the requirement is like we need to split these sections by adding tabs/links and showing/hiding divs. All the sections yet will remain in a single form which means minimum server side coding. There may be instances where the page re-loads for getting some data for a field, in that case we need to send this active div to server and back to JSP for getting the control to the right section whenever the server round-trip ends.This is more of changing the layout into different tabs yet having all the fields in the same form.

Let me know your inputs.


Thanks & Regards,

Atul.
 
Bear Bibeault
Sheriff
Posts: 67595
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Still sounds like Ajax is the solution you seek.

This article is a good place to start to get your head around the technology so you can start to work it into your solution.
[ December 22, 2006: Message edited by: Bear Bibeault ]
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic