The Artima Developer Community
Sponsored Link

Java Answers Forum
Applets vs. Pure Swing Applications Searches

1 reply on 1 page. Most recent reply: Jul 12, 2005 2:44 AM by Kondwani Mkandawire

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
Kondwani Mkandawire

Posts: 530
Nickname: spike
Registered: Aug, 2004

Applets vs. Pure Swing Applications Searches Posted: Jul 12, 2005 2:42 AM
Reply to this message Reply
Advertisement
Hi there:

I am really keen on knowing what is up here.

I have an Applet and an Application written in
Pure Swing, the Applet queries a database via
a Servlet via Hibernate. My Swing Applet queries
a Database via Hibernate. The difference in
Search speed is tremendous (using the Same Hibernate
modules and the Same SearchEngine). Could the
whole Network Connection to the Servlet aspect
really make that much of a difference in Speed?
Does the connection Implementation from Applet
to Servlet really matter that much?

With my Swing, the response zooms right onto
the Screen. However, with my Applet it drags
considerably (its searching through a database
of a million or so records).

Another thing, given that I want a Splash Screen
to monitor progress via a progressMonitor, am
I correct in assuming I'd need to use
Multithreading? Am I also correct in assuming
I'll have to make sure that the Event Queue
should not dispatch another thread whilst one
thread is live (that kind of negates the whole
aspect of Multithreading though - but not doing
so would also risk deadlock).

Please, any thoughts are appreciated.


Kondwani Mkandawire

Posts: 530
Nickname: spike
Registered: Aug, 2004

Re: Applets vs. Pure Swing Applications Searches Posted: Jul 12, 2005 2:44 AM
Reply to this message Reply
My baad, the Swing vs. Applet aspect is resolved,
once the connection is made the first time, it
zooms right through. Not sure if its a Cache
thing or Applet loading/connection issue.

I still would like to include a SplashScreen
and resolve the multi-threading issue. Please
fire out some thoughts and suggestions.

One,
Spike

Flat View: This topic has 1 reply on 1 page
Topic: how to use the new defined methods in the Anonymous inner classes? Previous Topic   Next Topic Topic: Installing Eclipse plugins (I know how, but isn't working)

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use