On Wed, 8 Sep 2004 14:08:12 +0800, Thomas G. Marshall wrote
(in article <glx%c.5207$dC4.439@trndny06>):
> steve coughed up:
>> On Wed, 8 Sep 2004 04:31:38 +0800, Love Rhino wrote
>> (in article <>) :
>>
>>> Hello there.
>>>
>>> I have 10+ years doing C/C++/Unix development writing
>>> databases, compilers, and network software. I have
>>> a few years of Java experience.
>>>
>>> I need to write a GUI application for the fairly recent
>>> versions of Windows (NT, XP, 2000...). Since I'm all about
>>> interoperability, I'm thinking about using Java to do it.
>>> I don't have *any* GUI experience, nor Windows experience.
>>>
>>> My worry is that Java Swing isn't ideal for me. Many
>>> developers I've talked to, and website reviews I've read,
>>> say it's slow and overly complex for very simple things.
>>>
>>> I'm wondering if that's just old news, and the latest
>>> version of Swing addresses those problems? If not, can
>>> you recommend other alternatives to Swing, that are
>>> reasonably fast and portable?
>>>
>>> My project is straight forward. Provide some buttons
>>> for users to query a database, and display the data.
>>> Some of the queries may require the user for specific
>>> dates, amounts, etc. Provide some forms for users to
>>> add data to a database. Later versions, I would like
>>> the data to be displayed on a spreadsheet like table
>>> and to be able to left/right click the cell for futher
>>> drill downs, but that's later versions. My boss wants
>>> a proof of concept, right now that doesn't look
>>> ugly.
>>>
>>> I'm thinking about going the VB route, but my Unix
>>> intuition says to stay away. The better solution is to
>>> give the project to a GUI guy. 
>>>
>>> Anyways, any suggestions would be great. Thanks for
>>> your time!
>>
>> I would say you are talking to idiots, who are so far out of date on
>> their technical skill , it is sad.
>>
>> the trick with java is all in the threads, most bad developers try to
>> do everything in 1 thread, ( usually the graphics thread), so they
>> end up with shitty ,slow programs. which they then blame on the java.
>> The idea is to launch multiple threads , so that operations do not
>> block each other & bog your application down.
>
> .....While being exceedingly careful to remain thread-safe. Swing is not
> thread safe. Nor are the collection classes (by default). And even with
> totally thread safe classes, you can /still/ get yourself into hot water if
> you don't synchronize properly.
>
> Java is mighty powerful. But don't go thinking that you can just launch
> multiple threads without worry.
>
That was not the issue under discussion.
A global statement was made that java is a crap language , because it is
slow.
Thread safety and synchronization are a separate but important issue.
the main point i like , is that i can sit my directors/staff down at a screen
, drag some buttons about , and prototype very fast.
nothing works, but you can still navigate thru tabs & menus.
prototyping this guys requirements would take perhaps a morning, and an
afternoon to debug/ clean up.
>
>>
>>
>>
>> check out the following: (iReport-Designer)
>> http://sourceforge.net/project/showf...group_id=64348
>>
>>
>> this will give you an idea as to speed, cross platform issues etc, of
>> using java. (I.E with a good programmer there are virtually none)
>>
>> it will also allow you to "Build" graphical reports tied to most
>> major databases.
>> it had a drag & drop interface, for fields/text etc.
>> ( you can compile 90% of the report, then the other 10% can be
>> queried from the user), or you can write a java plugin, that can
>> query the user during the running of the report.
>>
>>
>> this ties into Jasperreports (java)
>> http://sourceforge.net/projects/jasperreports
>>
>> which can produce and output reports in a number of different
>> formats.
>>
>> PDF/HTML/EXCEL/XML/ Whatever
>>
>>
>>
>> or go to
>> www.oracle.com
>> find "JDeveloper", this is a complete IDE written in java.
>>
>> I would guess , completing your task could be done in a morning , in
>> JDeveloper.
>>
>> if you are using ORACLE database, I can get you started, with any
>> help you need, on any of the above. if you are using another database
>> i cannot help too much.
>>
>>
>>
>> steve
>
>