View Full Version : I really like Java
kl7aj
12-06-2007, 06:50 PM
Well, yeah, I love the coffee too. But I'm talking about the Java 'puter language. I first kapiddled with it in 1995, before I knew much about C++. But it's gotten SO much better lately....and there are now all kinds of scientific/data acqusition plug-ins for it now. We should be writing some really cool ham apps in Java now.
I can see why Generalisimo Gates tried to kill Java...it runs on anything with electrons in it. But a great idea can never be kilt.
eric
There are quite a few ham apps in Java now, such as Satscape which runs great on my Linux machine at work.
Quote[/b] (kl7aj @ Dec. 06 2007,11:50)]I can see why Generalisimo Gates tried to kill Java...it runs on anything with electrons in it. #But a great idea can never be kilt.
eric
Who needs cross-platform languages and apps if there is only one platform? That's Bills way of thinking..fortunately a M$-only computing world is never going to happen.
n2jso
12-06-2007, 07:10 PM
I don't like coffee, it reminds me of burning garbage.
I agree regarding Java the programming language. When I first tried it in 1996 or so, I concluded that it was not yet ready for prime time. However, in the last few years, nearly all of my code has been written in Java. I find it a good general purpose language for most applications. For stuff that requires best performance (real time, or embedded code), I still prefer C.
The best feature of Java is the wide availability of libraries and add-ons for almost every purpose - much of it is free! Second best feature is, as KL7AJ said, it runs on darn near anything. At my job, we code and unit test on our Windows PCs, and the final product runs on servers under various flavors of Unix.
w3dub
12-06-2007, 07:15 PM
Java is on its way out though. Most applications are looking at ways to bring newer better platforms such as AJAX to the desktop...
On the subject of Microsoft: the company has made HUGE strides in interoperability over the past three years alone. Trust me, I write about this on a daily basis.
MS circa the beginning of this decade and MS now are quite different. Google has stung them hard.
k5okc
12-06-2007, 07:22 PM
If you like to program in Java, you really need to install the:
Netbeans 6.0
IDE. This is a great tool, and it is free. I had considered some expensive tools, but tried Netbeans 5.5 and it was great. They just released 6, so I installed it.
It's even better!
They are at www.netbeans.org I believe.
kl7aj
12-06-2007, 07:26 PM
Quote[/b] (k5okc @ Dec. 06 2007,12:22)]If you like to program in Java, you really need to install the:
Netbeans 6.0
IDE. #This is a great tool, and it is free. #I had considered some expensive tools, but tried Netbeans 5.5 and it was great. #They just released 6, so I installed it.
It's even better!
They are at www.netbeans.org I believe.
Indeed...I'm fully beanified. http://www.qrz.com/iB_html/non-cgi/emoticons/smile.gif
eric
KC5CSG
12-06-2007, 07:26 PM
I like my coffee like I like my women. Dark and bitter. I have no need for cream or sugar.
Quote[/b] (k5okc @ Dec. 06 2007,14:22)]If you like to program in Java, you really need to install the:
Netbeans 6.0
IDE. This is a great tool, and it is free. I had considered some expensive tools, but tried Netbeans 5.5 and it was great. They just released 6, so I installed it.
It's even better!
They are at www.netbeans.org I believe.
I much prefer Eclipse.
In fact that's pretty much what we use here where I work.
Quote[/b] (KB3JGU @ Dec. 06 2007,14:15)]Java is on its way out though. Most applications are looking at ways to bring newer better platforms such as AJAX to the desktop...
AJAX replacing Java?
I'm curious to know how that works. http://www.qrz.com/iB_html/non-cgi/emoticons/rock.gif
ab9lz
12-06-2007, 07:47 PM
Quote[/b] (KB3JGU @ Dec. 06 2007,12:15)]Java is on its way out though. Most applications are looking at ways to bring newer better platforms such as AJAX to the desktop...
Ajax typically has dependencies on server side code components to source data for the callbacks.
More often than not that server side code was written in java.
73 m/4
ab9lz
12-06-2007, 07:53 PM
Quote[/b] (N2RJ @ Dec. 06 2007,12:29)]Quote[/b] (k5okc @ Dec. 06 2007,14:22)]If you like to program in Java, you really need to install the:
Netbeans 6.0
IDE. #This is a great tool, and it is free. #I had considered some expensive tools, but tried Netbeans 5.5 and it was great. #They just released 6, so I installed it.
It's even better!
They are at www.netbeans.org I believe.
I much prefer Eclipse.
In fact that's pretty much what we use here where I work.
We have over 300 Eclipse seats, however, I'm one of the lucky few that gets Together J.
Netbeans is classified as "podunk" and not permitted here, as are MSFT server side components.
73 m/4
K0RGR
12-06-2007, 08:04 PM
I've mastered and forgotten Java several times.
Java is very powerful and promotes growth. So are certain fertilizers. Those who use it love it. I do think that it's grown up a lot in recent years.
Of course, I come from a peculiar programming background. I've studied and mastered a lot of different languages over the years. I loved BASIC, but of course, it was too easy to create 'spaghetti code' with its' 'GOTO' feature.
For business applications, RPG is still a powerful force if you work on a platform that supports it. Unfortunately, only one really does anymore, so all that fine code is not really portable. You can still learn RPG in a weekend, though, if you need to.
From a support standpoint, Java is frustrating. Most of the issues seem to revolve around missing or extraneous classes that have been added to the classpath. Those who love traversing the UNIX file system, 18-levels deep, looking for a missing comma, were born to debug Java.
But what you create is truly portable, and then some. I'd love to see more ham apps written in it - so it would run just as well on Linux as on Windoze.
k5okc
12-06-2007, 08:17 PM
Quote[/b] (ab9lz @ Dec. 06 2007,14:53)]Netbeans is classified as "podunk" and not permitted here.
I've never been to New England.
We got rid of all our IBM stuff at work. After they butchered AIX, we went to Dell and Red Hat.
k5okc
12-06-2007, 08:52 PM
EDIT: oops, probably not supposed to put code in a forum...
kl7aj
12-06-2007, 09:03 PM
Quote[/b] (k5okc @ Dec. 06 2007,13:52)]Here's something I'm working on for a SoundCard modem:
/**
* SoundCard.java
*
* Created on November 24, 2007, 1:13 PM
*
* @version 1.0 24 November 2007
* @author Steve Sampson, K5OKC
*
* Public Domain (p) November 2007
*/
package modem;
import javax.sound.sampled.*;
import java.io.*;
public class SoundCard {
# #private AudioFormat format;
# #private TargetDataLine targetLine;
# #private SourceDataLine sourceLine;
# #private AudioInputStream sound;
# #
# #public void SoundCard() {
# #}
# #
# #/*
# # * #First you must call format to set parameters
# # */
# #
# #public boolean formatPCM(double samplerate) {
# # # #/*
# # # # * Encoding,
# # # # * Sample Rate (float),
# # # # * Sample Size (In Bits),
# # # # * Channels,
# # # # * Frame Size,
# # # # * Frame Rate (float),
# # # # * BigEndian (Boolean)
# # # # */
# # # #
# # # #format = new AudioFormat(AudioFormat.Encoding.PCM_SIGNED,
# # # # # # # #(float)samplerate,
# # # # # # # #16,
# # # # # # # #1,
# # # # # # # #2,
# # # # # # # #(float)samplerate,
# # # # # # # #false);
# #
# # # #return true;
# #}
# #
# #/*
# # * #Then you initialize the target and source lines
# # */
# #
# #public boolean initPCM() {
# # # #DataLine.Info targetInfo = new DataLine.Info(TargetDataLine.class, format);
# # # #DataLine.Info sourceInfo = new DataLine.Info(SourceDataLine.class, format);
# # # #
# # # #try {
# # # # # #sourceLine = (SourceDataLine)AudioSystem.getLine(sourceInfo);
# # # # # #sourceLine.open(format);
# # # # # #sourceLine.start();
# # # #}
# # # #catch (LineUnavailableException ex) {
# # # # # #return false;
# # # #}
# # # #
# # # #if(!AudioSystem.isLineSupported(targetInfo)) {
# # # # # #return false;
# # # #}
# # # #
# # # #try {
# # # # # #targetLine = (TargetDataLine)AudioSystem.getLine(targetInfo);
# # # # # #targetLine.open(format, targetLine.getBufferSize());
# # # # # #targetLine.start();
# # # #} # # # #
# # # #catch (LineUnavailableException e) {
# # # # # #return false;
# # # #}
# # # #
# # # #sound = new AudioInputStream(targetLine);
# # # #
# # # #return true;
# #}
# #
# #/*
# # * #You should flush and close the target and source lines when finished
# # */
# #
# #public void closePCM() {
# # # #targetLine.flush();
# # # #targetLine.stop();
# # # #targetLine.close();
# #}
# #/*
# # * #Data will be blocked by byteData.length bytes
# # */
# #
# #public int getPCM(byte[] byteData) {
# # # #int intBytesRead = 0;
# # # #
# # # #/*
# # # # * Read bytes into data byte array
# # # # */
# # # #
# # # #try {
# # # # # #intBytesRead = sound.read(byteData, 0, byteData.length);
# # # #} catch(IOException ex) {
# # # # # #return -1;
# # # #}
# # # #
# # # #return intBytesRead;
# #}
}
Someone told me that way to tell the difference between C++ source code and an e e cummings poem is that the e e cummings poem wont compile properly.
Actually that's not true....I think some of e e cummings poems DO compile correctly. http://www.qrz.com/iB_html/non-cgi/emoticons/smile.gif
eric
I was always feel like I am working with C++’s (my preferred language) redheaded stepchild when I am forced to use Java. Granted, I do close to zero web-related work, so that makes a huge difference.
w3dub
12-06-2007, 09:48 PM
AJAX's back code is not 100% java.. in fact its actually javaSCRIPT... which is slightly different, but much less complex. Additionally, it incorporates a good deal of XML as well.
Java has increasingly fell out of favor however in development overall...if its java these days its in the Javascript form. I never said AJAX was replacing it, not sure where you got that... but these days Java on its own its a thing of the past.
Then again with the new proposals on javascript as of late.. its actually becoming more complicated like Java.. huge point of contention right now.
W4INF
12-07-2007, 12:13 AM
AJ, ur code is purrdee! :-0 I program in ASP.NET, it is only dependent on a Windows server (not even IIS, I develop on Abyss) but it is pretty browser universal... The only drawback is it is not client based and there is not a way to interface with hardware. I do VB.NET for client side programming but not as much as web with ASP.NET.
Anyway, just throwing my .02 in.. My website is entirely written in ASP.NET with database access and the works... There are only about 8 pages, all content is stored in the DB, so when you pull a page 90% of the stuff you see, was drawn from the DB.. Not the images, but the HTML.
Andrew
kl7aj
12-07-2007, 12:34 AM
Quote[/b] (W4INF @ Dec. 06 2007,17:13)]AJ, ur code is purrdee! :-0 I program in ASP.NET, it is only dependent on a Windows server (not even IIS, I develop on Abyss) but it is pretty browser universal... The only drawback is it is not client based and there is not a way to interface with hardware. I do VB.NET for client side programming but not as much as web with ASP.NET.
Anyway, just throwing my .02 in.. My website is entirely written in ASP.NET with database access and the works... There are only about 8 pages, all content is stored in the DB, so when you pull a page 90% of the stuff you see, was drawn from the DB.. Not the images, but the HTML.
Andrew
I din't write that....the other guy did. But I can purtify my code just like that with my 'fisshal code purtifier.
ERic
k5okc
12-07-2007, 01:02 AM
Quote[/b] (kl7aj @ Dec. 06 2007,19:34)]I din't write that....the other guy did. # But I can purtify my code just like that with my 'fisshal code purtifier.
ERic
That's right, it's a button on netbeans that reformats and beautifies your code http://www.qrz.com/iB_html/non-cgi/emoticons/tounge.gif
KA8NCR
12-07-2007, 01:45 AM
Quote[/b] (KB3JGU @ Dec. 06 2007,14:48)]AJAX's back code is not 100% java.. in fact its actually javaSCRIPT... which is slightly different, but much less complex. Additionally, it incorporates a good deal of XML as well.
Java has increasingly fell out of favor however in development overall...if its java these days its in the Javascript form. I never said AJAX was replacing it, not sure where you got that... but these days Java on its own its a thing of the past.
Then again with the new proposals on javascript as of late.. its actually becoming more complicated like Java.. huge point of contention right now.
For web pages, that's probably true for dealing with an efficient work flow on the page. But for desktop event driven programming, Java is used very widely and that won't change. There are simply things that you can not do with AJAX and will *never* be able to do.
The most widely used PSIP generator used for HDTV stations is written in Java. I've seen plenty of Java desktop applications that are used to configure equipment and controllers. Why? Because it is a foolproof way to get cross platform applications in the quickest amount of time.
And it's not entirely dead on the web either; SSL VPNs that are worth a damn use Java so *everyone* can use them, not just Windows users.
Java isn't going anywhere.
ab9lz
12-07-2007, 01:47 AM
Quote[/b] (KB3JGU @ Dec. 06 2007,14:48)]Java has increasingly fell out of favor however in development overall...if its java these days its in the Javascript form.
From that statement, it's quite clear that you are not professional corporate programmer. I can't imagine what you are basing that statement on. Please provide some info to substantiate that claim.
AE6IP
12-07-2007, 01:55 AM
Java is VisualBasic for people who would never admit that they write VisualBasic.
Given enough time, I suppose Sun will eventually make it into a usable language.
KA8NCR
12-07-2007, 01:57 AM
Quote[/b] (kl7aj @ Dec. 06 2007,14:03)]Someone told me that way to tell the difference between C++ source code and an e e cummings poem is that the e e cummings poem wont compile properly.
Actually that's not true....I think some of e e cummings poems DO compile correctly. http://www.qrz.com/iB_html/non-cgi/emoticons/smile.gif
eric
Bjarne Stroustrup has been credited as saying "C makes it easy to shoot yourself in the foot. C++ makes it harder, but when you do, it blows away your whole leg."
Objective-C makes it harder still, but when it happens, your only indication is that you seem to be listing to one side.
k5okc
12-07-2007, 01:57 AM
At my office, the programming team and management want to go to dot.net. Everything they want to do, like single sign-on authentication, and file system searches for the many web based applications we have, makes them goo-goo over dot.net.
Thus they all are learning C Pound (C#) instead of Java (sorry, I deprecate it by calling it a funny name, and my manager is getting tired of me saying it).
Anyway, I'm a Unix/Linux (some Oracle) Systems Administrator, so when they make the move to C Pound and Dot.Net, I will be retired (again).
w3dub
12-07-2007, 02:22 AM
Java (not JS) might have use in the desktop environment, but thats about it. But widespread use of Java on the desktop? That's a little bit of a stretch... however, idespread use of Java in the form of JavaScript on the web? You bet.
As for .NET.. I think a lot of people are moving that way due to again ease of use and speed in getting things going. Coding in ASP vs ASP.NET for the web is like night and day. What took you a day to code in ASP takes far less than that in .NET.
Its been awhile since i've done webpages in .NET but man it sure made it easy.
Quote[/b] (KB3JGU @ Dec. 06 2007,21:22)]Java (not JS) might have use in the desktop environment, but thats about it. But widespread use of Java on the desktop? That's a little bit of a stretch... however, idespread use of Java in the form of JavaScript on the web? You bet.
Actually I've seen more Java on the web than ever before. #Its popularity is actually increasing (and I don't mean javascript, I mean actual java applets). #
It's tons better than ActiveX and a lot more secure.
Government websites seem to like Java a lot.
For example, the US Postal service uses a Java app to print postage online.
The FCC also uses Java for the ASR application (antenna structure registration.)#
Quote[/b] ]
As for .NET.. I think a lot of people are moving that way due to again ease of use and speed in getting things going. Coding in ASP vs ASP.NET for the web is like night and day. What took you a day to code in ASP takes far less than that in .NET.
Its been awhile since i've done webpages in .NET but man it sure made it easy.
At my workplace we're getting rid of our ASP stuff. #PHP seems like the way we're going, and I think it's a good move. #ASP is a pain in the neck, a proprietary Microsoft technology that can often leave huge, gaping security holes in its wake.
Quote[/b] (W4INF @ Dec. 06 2007,19:13)]AJ, ur code is purrdee! :-0 #I program in ASP.NET, it is only dependent on a Windows server (not even IIS, I develop on Abyss) but it is pretty browser universal... The only drawback is it is not client based and there is not a way to interface with hardware. #I do VB.NET for client side programming but not as much as web with ASP.NET.
Anyway, just throwing my .02 in.. My website is entirely written in ASP.NET with database access and the works... There are only about 8 pages, all content is stored in the DB, so when you pull a page 90% of the stuff you see, was drawn from the DB.. Not the images, but the HTML.
Andrew
I, on the other hand, prefer PHP.
It is much more like C and is very easy to understand and has great integration with MySQL.
ab8ro
12-07-2007, 08:38 AM
Quote[/b] (AE6IP @ Dec. 05 2007,19:55)]Java is VisualBasic for people who would never admit that they write VisualBasic.
Given enough time, I suppose Sun will eventually make it into a usable language.
Interesting. In what way do you think that VB and Java are similar? What language do you like?
I think the reason people like(d) VB had more to do with how you developed applications than the language itself.
N8CPA
12-07-2007, 10:04 AM
I've always wanted to visit Indonesia. But I haven't been there yet.
KI4NGN
12-07-2007, 11:57 AM
Quote[/b] (kq9j @ Dec. 06 2007,12:07)]Quote[/b] (kl7aj @ Dec. 06 2007,11:50)]I can see why Generalisimo Gates tried to kill Java...it runs on anything with electrons in it. #But a great idea can never be kilt.
eric
Who needs cross-platform languages and apps if there is only one platform? #That's Bills way of thinking..fortunately a M$-only computing world is never going to happen.
Tell that to Apple!
After all of their funny commercials comparing their world with the MS Vista world, they've just announced MS Vista on their hardware! Saw the commerical for it on the tube a few days ago! http://www.qrz.com/iB_html/non-cgi/emoticons/smile.gif
KI4NGN
12-07-2007, 12:03 PM
I work everyday with C++ and C#.
C++ is tiring. C# is hot, and very similar to Java.
Java has it's place, but in the MS world it's C# all the way, and that's a big world.
Mike
k5okc
12-07-2007, 12:42 PM
Quote[/b] (ab8ro @ Dec. 07 2007,03:38)]Quote[/b] (AE6IP @ Dec. 05 2007,19:55)]Java is VisualBasic for people who would never admit that they write VisualBasic.
Given enough time, I suppose Sun will eventually make it into a usable language.
Interesting. In what way do you think that VB and Java are similar? What language do you like?
I think the reason people like(d) VB had more to do with how you developed applications than the language itself.
VB was the Model-T of GUI. #Java is like the uni-body of GUI. #C# and .Net are the Minivan of GUI.
I would use C#, and it is available (along with .net) for Linux, I don't think there is a viable Open Source IDE yet.
When there is a Netbeans or Eclipse front-end to C#, then I think Java's days are numbered.
Sun is just too fragmented a company to adapt to what the critics really want.
KA8NCR
12-07-2007, 12:57 PM
Quote[/b] (KB3JGU @ Dec. 06 2007,19:22)]Java (not JS) might have use in the desktop environment, but thats about it. But widespread use of Java on the desktop? That's a little bit of a stretch... however, idespread use of Java in the form of JavaScript on the web? You bet.
It depends on the situation. IBM put out a lot of Java applications that ran on the desktop to help with support. I remember that their Windows Client Access for the AS/400 was full of problems, but the Java desktop app worked like a charm.
I see a lot of Java desktop apps because the application might run on a Windows box, might be run on a Linux box or might be on a QNX.
ab9lz
12-07-2007, 02:36 PM
Quote[/b] (AE6IP @ Dec. 06 2007,18:55)]Java is VisualBasic for people who would never admit that they write VisualBasic.
Given enough time, I suppose Sun will eventually make it into a usable language.
That's statement shows clear naievte of programming languages in general. The two paradigms are completely different.
While java isn't my personal choice when coding for fun, I can say with some authority that if you have ever done any kind of business with any of the large banks, be it retail or investment banking, it is more than likely that that your dollars have been transacted by a server side java application or two (or ten).
73 m/4
Quote[/b] (ab9lz @ Dec. 07 2007,09:36)]Quote[/b] (AE6IP @ Dec. 06 2007,18:55)]Java is VisualBasic for people who would never admit that they write VisualBasic.
Given enough time, I suppose Sun will eventually make it into a usable language.
That's statement shows clear naievte of programming languages in general. The two paradigms are completely different.
While java isn't my personal choice when coding for fun, I can say with some authority that if you have ever done any kind of business with any of the large banks, be it retail or investment banking, it is more than likely that that your dollars have been transacted by a server side java application or two (or ten).
73 m/4
Nevermind marty, he's trying to show us that he's someone important and knows a little about programming. http://www.qrz.com/iB_html/non-cgi/emoticons/laugh.gif
w3dub
12-07-2007, 03:27 PM
Quote[/b] (N2RJ @ Dec. 07 2007,00:43)]Actually I've seen more Java on the web than ever before. Its popularity is actually increasing (and I don't mean javascript, I mean actual java applets).
It's tons better than ActiveX and a lot more secure.
Government websites seem to like Java a lot.
For example, the US Postal service uses a Java app to print postage online.
The FCC also uses Java for the ASR application (antenna structure registration.)
At my workplace we're getting rid of our ASP stuff. PHP seems like the way we're going, and I think it's a good move. ASP is a pain in the neck, a proprietary Microsoft technology that can often leave huge, gaping security holes in its wake.
I'd agree with you on PHP vs. ASP... I have seen that myself. Although on your Java comment.. the only commonly used site I know right now that makes good use of actual Java is the NWS site for radar loops. I don't know of many else.
(Sun would like you to think different, HI HI)
Are you sure its not standard ASP? I was under the impression that most of the security issues occurred more frequently in the old version over .NET...
kl7aj
12-07-2007, 03:38 PM
Quote[/b] (ab8ro @ Dec. 07 2007,01:38)]Quote[/b] (AE6IP @ Dec. 05 2007,19:55)]Java is VisualBasic for people who would never admit that they write VisualBasic.
Given enough time, I suppose Sun will eventually make it into a usable language.
Interesting. In what way do you think that VB and Java are similar? What language do you like?
I think the reason people like(d) VB had more to do with how you developed applications than the language itself.
Actually VB is closer to the QT Widget set. (Not sure which came first, I was doing QT widgets before I learned VB)
Eric
ab9lz
12-07-2007, 04:28 PM
Quote[/b] (N2RJ @ Dec. 07 2007,07:55)]Nevermind marty, he's trying to show us that he's someone important and knows a little about programming. # http://www.qrz.com/iB_html/non-cgi/emoticons/laugh.gif
Better than workin the help desk like you do. http://www.qrz.com/iB_html/non-cgi/emoticons/smile.gif
n2jso
12-07-2007, 06:58 PM
Quote[/b] (ab9lz @ Dec. 07 2007,09:36)]While java isn't my personal choice when coding for fun, I can say with some authority that if you have ever done any kind of business with any of the large banks, be it retail or investment banking, it is more than likely that that your dollars have been transacted by a server side java application or two (or ten).
This is true in Insurance as well, at least at my employer. The core transaction code and databases still reside on Mainframes, written in COBOL (some of the code goes back to the 1960s!). But there are many layers between the end user and the mainframe, and it's almost all Java.
Quote[/b] (ab9lz @ Dec. 07 2007,11:28)]Quote[/b] (N2RJ @ Dec. 07 2007,07:55)]Nevermind marty, he's trying to show us that he's someone important and knows a little about programming. http://www.qrz.com/iB_html/non-cgi/emoticons/laugh.gif
Better than workin the help desk like you do. http://www.qrz.com/iB_html/non-cgi/emoticons/smile.gif
Actually sometimes I wish I was working the helpdesk.
Those guys have an easy job.
BTW, I am not a developer either.
Quote[/b] (KB3JGU @ Dec. 07 2007,10:27)]I'd agree with you on PHP vs. ASP... I have seen that myself. Although on your Java comment.. the only commonly used site I know right now that makes good use of actual Java is the NWS site for radar loops. I don't know of many else.
FCC ASR I know definitely makes use of Java (not Javascript, but a Java applet).
USPS also makes use of Java. Try printing a postage label online. It's a Java applet.
Quote[/b] ]Are you sure its not standard ASP? I was under the impression that most of the security issues occurred more frequently in the old version over .NET...
Pretty sure it's .NET.
Most of these have to do with the general insecurity of MS SQL server as well.
w3dub
12-07-2007, 07:13 PM
Quote[/b] (N2RJ @ Dec. 07 2007,15:05)]FCC ASR I know definitely makes use of Java (not Javascript, but a Java applet).
USPS also makes use of Java. Try printing a postage label online. It's a Java applet.
Quote[/b] ]Are you sure its not standard ASP? I was under the impression that most of the security issues occurred more frequently in the old version over .NET...
Pretty sure it's .NET.
Most of these have to do with the general insecurity of MS SQL server as well.
SQL server is pretty bad, I'll give you that. But on its face, ASP.NET should be overall pretty secure.
I really think the central problem was a lot of these technologies came at a time when security wasn't a huge issue. Lazy coding is really what it comes down to.
If you don't mind me asking, where do you work?
W1GUH
12-07-2007, 08:19 PM
I liked some of the stuff that's do-able with Java, but then learned C# and liked it better. #I think the way C# does a "complie just in time" is fundamentally better than how Java does that code (I forget the name of it...something do do with bytes?).
Also, Jave seemed to be in constant deprecation. #Is that still true?
In the Java case, I never thought the way they did "Write once, run everywhere" was anymore than word play. #It doesn't run everywhere...you need the runtime envorinment, and even then, it still doesn't have the efficiency of compiled code. #Now, if the runtime environment actually compiled the code...that'd be something.
And I believe that C# does exactly that...it compiles the code and then runs it. #But if it's going to do that, why not just compile it and leave a .exe? #C#, also, requires a runtime environment, but at least published code includes it.
k5okc
12-07-2007, 08:24 PM
Quote[/b] (W1GUH @ Dec. 07 2007,15:19)]it compiles the code and then runs it. #But if it's going to do that, why not just compile it and leave a .exe?
The .Net virtual machine is supposed to virtualize the hardware, and provide security.
Sort of like .Net runs as root, and applications run as the user, only that's too simplistic.
W4INF
12-07-2007, 09:03 PM
Quote[/b] (k5okc @ Dec. 05 2007,19:57)]Thus they all are learning C Pound (C#) i... <snip>
Thats C Sharp sir, C# - Like in music.
HTH,
Andrew
Ack! No JAVA on my desktop, please.
Its horrid, ugly, UI with it's non-integrated visual is as appealing in 2007 as a Motif app which I also avoid like the plague. Write the app in Qt or GTK+, then I at least can use a common theme on both toolkits and maintain a unified desktop look and feel.
I tolerate Fldigi's look because it's the best digital app for Linux and KDE can apply its color scheme to FLT which helps a lot.
KD8COO
12-07-2007, 10:56 PM
Quote[/b] (W1GUH @ Dec. 07 2007,13:19)]I liked some of the stuff that's do-able with Java, but then learned C# and liked it better. #I think the way C# does a "complie just in time" is fundamentally better than how Java does that code (I forget the name of it...something do do with bytes?).
Java "compiles" to byte-code (much like the old "p-code" systems did way back in the day). However, the JRE has a JIT compiler as well. Well written Java code is comparable in speed with well written C compiled code. Can't compare with C octothorpe, I don't do the .Net disaster (errrr, platform) ;)
My favorite languages are C and x86 assembly, but I also enjoy Modula-2 and Java. I don't enjoy programming for the web, or for databases. Stand-alone apps are much more fun. Since it's not what I do to make money anymore (moved from programming to support/sysadmin), I can do what I like and not get stuck writing web/database code all day long. http://www.qrz.com/iB_html/non-cgi/emoticons/smile.gif
K0RGR
12-07-2007, 11:44 PM
I was going to ask about PHP - it's available for IBM's iSeries now along with MySQL - both fairly radical departures for Big Blue's database engine.
I had to learn Perl a couple years ago in a very brief time, and was proud to actually be able to create something useful with it. But, I think that language has become ancient history, too.
I was involved in some product testing for a major new version of some of our middleware, and the big test suite was written in Perl - to modify or create a new test, you had to be able to write the routines in Perl.
Where I work, I see a lot of Java happening, but mostly part of Websphere. Java drives a lot commercial transactions out there, including some huge companies.
One of the reasons that Java has become so popular is that there are thousands of crackerjack Java coders in Bangalore willing to work for a few dollars an hour, and thinking they've got it good.