473,480 Members | 1,536 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

old app inheritance

Hi,
I just inherited an old gui application that was implemented using AWT,
I think circa Java 1.1. It is running on a Sun-Blade 2500 running Solaris
2.9 and JRE 1.4.2, so it should be flying, but it's not. In fact, the
performance is horrible. How should I go about improving it? Do I upgrade
to JRE 1.5.0 first? Should I reimplement everything in Swing? Or do I get
a profiler, find out what the heck is killing me, and try to improve it?
ANY suggestion would be helpful. Thanks!

Ric
Jul 17 '05 #1
5 1506
Ric Has wrote:
Hi,
I just inherited an old gui application that was implemented using AWT,
I think circa Java 1.1. It is running on a Sun-Blade 2500 running Solaris
2.9 and JRE 1.4.2, so it should be flying, but it's not. In fact, the
performance is horrible. How should I go about improving it?
Do I upgrade
to JRE 1.5.0 first?
No. Last I checked, 1.5 was still beta.

Should I reimplement everything in Swing?
Probably not at this point.
Or do I get
a profiler, find out what the heck is killing me, and try to improve it?
That sounds like the right approach.
ANY suggestion would be helpful. Thanks!

Ric


Ray

--
XML is the programmer's duct tape.
Jul 17 '05 #2
Liz

"Ric Has" <rj***@sbcglobal.net> wrote in message
news:cb**********@nntp1.jpl.nasa.gov...
Hi,
I just inherited an old gui application that was implemented using AWT, I think circa Java 1.1. It is running on a Sun-Blade 2500 running Solaris
2.9 and JRE 1.4.2, so it should be flying, but it's not. In fact, the
performance is horrible. How should I go about improving it? Do I upgrade to JRE 1.5.0 first? Should I reimplement everything in Swing? Or do I get a profiler, find out what the heck is killing me, and try to improve it?
ANY suggestion would be helpful. Thanks!

Ric

Rumor has it that Sun has made performance improvements
in their stuff over time so if you just recompile/run it with
J2SE 1.4.2 it might be fast enough with no real work on your
part. Keep the original though. I would stay away from 1.5
since it is not yet officially released and if there is a
problem it might be more complicated if you can't trust
the compiler/vm
Jul 17 '05 #3
Ok, it sounds like trying a profiler is the way to go. Does anyone have a
suggestion for one I can use?

Ric

"Ric Has" <rj***@sbcglobal.net> wrote
Hi,
I just inherited an old gui application that was implemented using AWT, I think circa Java 1.1. It is running on a Sun-Blade 2500 running Solaris
2.9 and JRE 1.4.2, so it should be flying, but it's not. In fact, the
performance is horrible. How should I go about improving it? Do I upgrade to JRE 1.5.0 first? Should I reimplement everything in Swing? Or do I get a profiler, find out what the heck is killing me, and try to improve it?
ANY suggestion would be helpful. Thanks!

Ric

Jul 17 '05 #4
On Mon, 28 Jun 2004 11:08:37 -0700, "Ric Has" <rj***@sbcglobal.net>
wrote or quoted :
Ok, it sounds like trying a profiler is the way to go. Does anyone have a
suggestion for one I can use?


You can spend a heck of a lot money very quickly here. Try out some of
the free stuff first. See http://mindprod.com/jgloss/profiler.html
for lists of both.

--
Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming.
See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.
Jul 17 '05 #5
Thanks for all the advice so far. One more thing. Someone suggested that I
might want to move it to Eclipse's SWT, and that there are tools to do this
in an automated way. Can anyone tell me anything about that? Thanks.

Ric
"Ric Has" <rj***@sbcglobal.net> wrote in message
news:cb**********@nntp1.jpl.nasa.gov...
Hi,
I just inherited an old gui application that was implemented using AWT, I think circa Java 1.1. It is running on a Sun-Blade 2500 running Solaris
2.9 and JRE 1.4.2, so it should be flying, but it's not. In fact, the
performance is horrible. How should I go about improving it? Do I upgrade to JRE 1.5.0 first? Should I reimplement everything in Swing? Or do I get a profiler, find out what the heck is killing me, and try to improve it?
ANY suggestion would be helpful. Thanks!

Ric

Jul 17 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
4357
by: AIM | last post by:
Error in msvc in building inheritance.obj to build hello.pyd Hello, I am trying to build the boost 1.31.0 sample extension hello.cpp. I can not compile the file inheritance.cpp because the two...
2
4318
by: Graham Banks | last post by:
Does using multiple inheritance introduce any more performance overhead than single inheritance?
4
2875
by: JKop | last post by:
I'm starting to think that whenever you derive one class from another, that you should use virtual inheritance *all* the time, unless you have an explicit reason not to. I'm even thinking that...
5
2161
by: Morgan Cheng | last post by:
It seems no pattern defined by GoF takes advantage of multiple inheritance. I am wondering if there is a situation where multiple inheritance is a necessary solution. When coding in C++, should...
10
2630
by: davidrubin | last post by:
Structural inheritance (inheriting implementation) is equivalent to composition in that a particular method must either call 'Base::foo' or invoke 'base.foo'. Apparantly, The Literature tells us to...
14
12869
by: Steve Jorgensen | last post by:
Recently, I tried and did a poor job explaining an idea I've had for handling a particular case of implementation inheritance that would be easy and obvious in a fully OOP language, but is not at...
22
23309
by: Matthew Louden | last post by:
I want to know why C# doesnt support multiple inheritance? But why we can inherit multiple interfaces instead? I know this is the rule, but I dont understand why. Can anyone give me some concrete...
45
6304
by: Ben Blank | last post by:
I'm writing a family of classes which all inherit most of their methods and code (including constructors) from a single base class. When attempting to instance one of the derived classes using...
60
4862
by: Shawnk | last post by:
Some Sr. colleges and I have had an on going discussion relative to when and if C# will ever support 'true' multiple inheritance. Relevant to this, I wanted to query the C# community (the...
6
3793
by: Bart Simpson | last post by:
I remember reading on parashift recently, that "Composition is for code reuse, inheritance is for flexibility" see (http://www.parashift.com/c++-faq-lite/smalltalk.html#faq-30.4) This confused...
0
7044
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6908
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7045
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6741
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
6944
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5341
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4782
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
1
563
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
182
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.