DB Error: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 2

SELECT * FROM `user` the_table WHERE the_table.userid = DB Error: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 2

SELECT * FROM `user` the_table WHERE the_table.userid = JAVA vs DOT NET which is best? - iTechForums
Login
Search
Welcome to the iTechForums.
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.
To register now click here.
Latest Threads
Advertisements
Forum Statistics
Threads:
Posts: 3
Members:
Number of Users Online:
Welcome to our newest member,
Reply
 
Thread Tools Display Modes
  #1  
Old 05-15-2008, 01:27 AM
vinu vinu is offline
Junior Member
 
Join Date: May 2008
Posts: 7
Default

JAVA vs DOT NET which is best?


JAVA vs DOT NET which is best? & why?
merit & demerit of each....
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 05-15-2008, 01:31 AM
Kyle Terry Kyle Terry is offline
Junior Member
 
Join Date: May 2008
Posts: 1
Default

I vote: Don't use any of that crap and learn C or C++. Python is another good language to learn. Java is crap, and anything written in the .NET framework isn't cross platform.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 05-15-2008, 01:33 AM
karthik karthik is offline
Junior Member
 
Join Date: May 2008
Posts: 1
Default

Java is a programming language while .NET is a runtime environment. Java is a specific programming language. It's advantages are that most every browser out there supports the Java Virtual Machine and you can write platform independent code since Windows, Apple, Linux, Unix all have JVMs for their environments. Very extensible and allows for the widest range of audiences.

.Net is the framework for many different languages - including some very odd Java.Net implementations. If you're specific about any language that would be best suited to develop using the .Net framework - then you might consider C# being that language. C# is very very similar to Java syntactically and in how the language loads itself into its own managed/virtual machine environment. Considering that one of the chief people involved with Java at Sun eventually moved to Microsoft to be a primary architect of C#, this isnt surprising (I worked with these guys when I was with Visual Studio from 1998 thru to 2005).

.Net doesn't have the portability of Java - Unix and Linux from my most recent knowledge dont support .Net, and I dont believe an implementation of the framework ever got past Beta for Apple OS. Even within Microsoft, some of the divisions (Office being the primary one) wouldn't adopt .Net for product development simply because of the migration and performance issues that would affect their products. Vista was supposed to be the OS that was fully .Net integrated, but they dropped that when they dropped the WinFS - it would have taken way too long to work out all the issues with this.

.Net does have advantages - you can write in whatever language you want as long as it compiles to the Intermediate Language and it will be able to work with everyone else's components regardless of their language of choice. It will even work with Java as long as it's compiled to IL. .Net does a just in time compile/link that happens on first instance of execution, so there's a very noticeable performance hit there, but each time after it will run just like a native program since the exe will exist - the only perf hit from then on will be initializing all the objects in the managed stack/heap which at times can be significant.

So as someone above mentions - if your company has a mandate thru some MSFT partnership or funding to be a .Net shop, then you're .Net no matter what. As a developer - most of the development environments have identical feature sets that make coding fairly easy so toolset wise there's no real difference between any language paradigm anymore. I've worked in both sets of environments and apart from differences in libraries and declarations I find both to be equally effective from my perspective.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how can i update java in my LG KE770 mobile to access bluetooth from java? atul k Java, Java Servlets & JSP 0 05-06-2008 05:00 PM

Your Ad Here

All times are GMT. The time now is 03:32 AM.