From: Lew on 11 Jun 2010 17:09 [citation restored] Lew wrote: >> What about the Vector class is interesting? JC wrote: > It's not that I find it interesting. It just works well for my purposes. > For example, I have a "ResultRec" object that basically holds all the data > from one record in the lab_results table. But one result record can have one > or more result codes. So in my ResultRec object I have a Vector of > lab_result_codes. That was perfectly normal for Java 1.1 programming and quite correct. With Java 1.2 came the Collections class and the beginning of "programming to the interface". 'Vector' carries functionality not required all the time, to whit, method synchronization. It also sports legacy methods not consistent with the Collections framework. Its direct replacement is 'ArrayList' for unsynchronized work, and 'Collections.synchronizedList( List someList )' for synchronized work. Java 5 added generics to all that. Nowadays you'd use: List <Result> resultRec = new ArrayList <Result> (); -- Lew
From: Arne Vajhøj on 11 Jun 2010 20:49 On 11-06-2010 12:45, JC wrote: > Actually, everything I do on Oracle I learned on my own. And I think this > was only possible due to a limited amount of formal training on Sybase and > T/SQL. In which case SQLServer may not be that difficult, because SQLServer also uses T-SQL although today Microsoft's and Sybase's dialects has somewhat diverged. Arne
From: Arne Vajhøj on 11 Jun 2010 20:56 On 11-06-2010 08:28, David Kerber wrote: > In article<k2dQn.6548$z%6.2043(a)edtnps83>, dcest61(a)hotmail.com says... >> David Kerber wrote: >>> Not to mention that those are all cross-platform options. while .NET >>> locks you into a windows-based network. >> >> The way Mono is moving along that's not strictly speaking true. In any >> case, being "locked into" a Windows-based network is not exactly a >> liability, not now and not for a few more decades. As it is, the >> majority of fellow developers and clients that I deal with do J2SE/J2EE >> on Windows. Every job I've had there's always been a fair bit - often a >> majority - of other applications that have been on Windows. So it may be >> a point of pride that your app in theory could run on many OS's, but >> since almost everyone will have Windows who really cares? > > This is certainly true on the front (end-user) end, but much less so on > the server side. Windows still makes up only a minority of the servers > out there. It is a rather big minority. Java is not exactly Microsofts backyard, but a recent study showed that Java EE projects was deployed: Windows 57% Redhat & Centos 35% Suse 12% Other Linux 16% Solaris 18% AIX 14% HP-UX 5% Other 7% (it adds up to more than 100% because some projects targets multiple platforms) For .NET the Windows percentage is approx. 100%. That is a lot of Windows servers. http://en.wikipedia.org/wiki/Usage_share_of_operating_systems#Servers gives the same picture. Arne
From: Arne Vajhøj on 11 Jun 2010 21:51 On 11-06-2010 08:37, Thomas Kellerer wrote: > Wanja Gayk, 11.06.2010 01:09: >> Why would you want that? A proper Swing GUI gives you more freedom than >> any browser based technology. If deployment is no problem, and with >> Webstart it isn't, there is no point in using a web based GUI for a >> system which is not intended to run on the web - and with webstart even >> that would be no problem. > > WebStart combined with a decent module system like NetBeans or Eclipse > offer (automatic download and installation of those modules) should take > care of most of the deployment problems that have been around with older > Client/Server technologies. It still requires Java on the client. Arne
From: Arne Vajhøj on 11 Jun 2010 21:55
On 11-06-2010 06:57, ilan(a)whatever.com wrote: > Arved Sandstrom<dcest61(a)hotmail.com> writes: >> My statement was anecdotal, but I'm prepared to guess - damned if I >> know why I believe something this outlandish - that a whole bunch of >> people out there...maybe even a majority...use Windows. But if you >> think different that's your prerogative. > > Here is something factual. > > http://en.wikipedia.org/wiki/Web_server > http://news.netcraft.com/archives/2010/01/ > > Vendor Product Web Sites Hosted (millions) Percent > Apache Apache 111 54% > Microsoft IIS 50 24% > Igor Sysoev nginx 16 8% > Google GWS 15 7% > lighttpd lighttpd 1 0.46% Well - 24% only runs on Windows and 62% can run on Windows, so you have proved that Windows is used on 24-86% of web servers. I think that confirms Arveds claims. Arne |