After working extensively with .Net and Java, these are the differences I
see:
Java does not have Reflection.Emit
But it does have Reflection.
That's okay so far, because most programmers are too dumb to use
Reflection.Emit .
Visual Studio .net is the easiest way to create web services.
Windows.Forms, while easy to create, are hopelessly behind other toolkits
such as Swing and Gtk. 13 3081
Moonraker wrote: After working extensively with .Net and Java, these are the differences I see:
Java does not have Reflection.Emit But it does have Reflection.
That's okay so far, because most programmers are too dumb to use Reflection.Emit .
Visual Studio .net is the easiest way to create web services.
Windows.Forms, while easy to create, are hopelessly behind other toolkits such as Swing and Gtk.
Have you tried Mono as replacement for .net?
Some of the 200 odd liveCDs that boot from CD
and run without having to install come with mono already working. http://www.frozentech.com/content/livecd.php
All free and done up techies with open source source code
to configure and modify to heart's content.
7 wrote: Have you tried Mono as replacement for .net?
Yes, I am a huge fan of mono!
Some of the 200 odd liveCDs that boot from CD and run without having to install come with mono already working. http://www.frozentech.com/content/livecd.php All free and done up techies with open source source code to configure and modify to heart's content.
I get mine straight from the source: Suse.
There is a Red Carpet channel so it can be easily updated.
Lately I've been fascinated with developing UIs in Glade -- an XML based
structure for defining forms that can operate with mono/c#. It's
obviously 2 years ahead of AXML.
>Yes, I am a huge fan of mono!
Probably this answers your question, it's hard to argue with big/huge fan.
But moving from c# (I used it from since first beta) to java I don't see any
problems with java.
Some things are better in java, another in .net - they both are pretty big
NUT.
Anyway, some beeer would help to solve it.
"Moonraker" <ro***@moore.bo nd.007> wrote in message
news:Yp******** **********@news read1.news.pas. earthlink.net.. . After working extensively with .Net and Java, these are the differences I see:
Java does not have Reflection.Emit But it does have Reflection.
That's okay so far, because most programmers are too dumb to use Reflection.Emit .
Visual Studio .net is the easiest way to create web services.
Windows.Forms, while easy to create, are hopelessly behind other toolkits such as Swing and Gtk.
Ivar wrote: Yes, I am a huge fan of mono! Probably this answers your question, it's hard to argue with big/huge fan. But moving from c# (I used it from since first beta) to java I don't see any problems with java. Some things are better in java, another in .net - they both are pretty big NUT.
I totally agree.
I feel that as a professional programmer, I must work in both environments
to be of value. Anyway, some beeer would help to solve it.
"Moonraker" <ro***@moore.bo nd.007> wrote in message news:Yp******** **********@news read1.news.pas. earthlink.net.. . After working extensively with .Net and Java, these are the differences I see:
Java does not have Reflection.Emit But it does have Reflection.
That's okay so far, because most programmers are too dumb to use Reflection.Emit .
Visual Studio .net is the easiest way to create web services.
Windows.Forms, while easy to create, are hopelessly behind other toolkits such as Swing and Gtk.
"Moonraker" <ro***@moore.bo nd.007> wrote in message
news:Yp******** **********@news read1.news.pas. earthlink.net.. . After working extensively with .Net and Java, these are the differences I see:
Java does not have Reflection.Emit But it does have Reflection.
That's okay so far, because most programmers are too dumb to use Reflection.Emit .
Visual Studio .net is the easiest way to create web services.
Windows.Forms, while easy to create, are hopelessly behind other toolkits such as Swing and Gtk.
In what way, generally, is that behind? I was told Swing is something of a
"black art" - truth to that?
"Moonraker" <ro***@moore.bo nd.007> wrote in message
news:Yp******** **********@news read1.news.pas. earthlink.net.. . After working extensively with .Net and Java, these are the differences I see:
Java does not have Reflection.Emit But it does have Reflection.
That's okay so far, because most programmers are too dumb to use Reflection.Emit .
There are Java equivalents of Reflection.Emit , e.g. Bcel
( http://jakarta.apache.org/bcel/)
I'd certainly avoid both of them unless I had no plausible alternatives. (I
have had to use Refelction.Emit to create a dynamic .NET assembly. Ugh.)
Mike Schilling wrote:
\ I'd certainly avoid both of them unless I had no plausible alternatives. (I have had to use Refelction.Emit to create a dynamic .NET assembly. Ugh.)
Why ugh?
I think Reflection.Emit is the most brilliant part of .net
--
"You see, in this world there are two types of people, my friend:
those with loaded guns and those who dig. You dig."
-C. Eastwood, G,B&U
Live And Let Die <ro***@moore.bo nd.007> wrote: I'd certainly avoid both of them unless I had no plausible alternatives. (I have had to use Refelction.Emit to create a dynamic .NET assembly. Ugh.)
Why ugh?
I think Reflection.Emit is the most brilliant part of .net
In my view it's one of those things which is a bit of a pain to use,
and is only very, very rarely useful. When it *is* useful, it's a
godsend, but it's more "cool" than useful, IMO.
--
Jon Skeet - <sk***@pobox.co m> http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Jon Skeet [C# MVP] wrote: In my view it's one of those things which is a bit of a pain to use, and is only very, very rarely useful. When it *is* useful, it's a godsend, but it's more "cool" than useful, IMO.
I think you are defining /useful/ only in terms of what you already do.
And there I agree with you.
However, in terms of what could be done, that's never been done before...
--
"You see, in this world there's two
kinds of people, my friend: Those
with loaded guns and those who dig.
You dig." C. Eastwood, G,B&U This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Ravi Tallury |
last post by:
Hi
We are having issues with our application, certain portions of it stop
responding while the rest of the application is fine. I am attaching
the Java Core dump. If someone can let me know what the issue is.
Thanks
Ravi
|
by: ptaz |
last post by:
Hi I'm trying to run a web page but I get the following error. Ca
anyone please tell me a solution to this.
Thanks
Ptaz
HTTP Status 500 -
type Exception report
|
by: DrUg13 |
last post by:
In java, this seems so easy. You need a new object
Object test = new Object() gives me exactly what I want.
could someone please help me understand the different ways to do the
same thing in C++. I find my self sometimes, trying
Object app = Object();
Object *app = Object();
Object app = new Object();
|
by: mailkhurana |
last post by:
Hii ,
I am trying to use a type 2 driver to connect to DB2 0n AIX 5
I have a small java test to class to establish a conneciton with the db
.. I am NOT using WAS or any appserver
When I try to connect to the DB I get the following exception
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2120)
|
by: David Van D |
last post by:
Hi there,
A few weeks until I begin my journey towards a degree in Computer
Science at Canterbury University in New Zealand,
Anyway the course tutors are going to be teaching us JAVA wth bluej and
I was wondering if anyone here would be able to give me some tips for
young players such as myself, for learning the language.
Is this the best Newsgroup for support with JAVA?
| |
by: Mark Fink |
last post by:
I wrote a Jython class that inherits from a Java class and (thats the
plan) overrides one method. Everything should stay the same.
If I run this nothing happens whereas if I run the Java class it says:
usage: java fit.FitServer host port socketTicket
-v verbose
I think this is because I do not understand the jython mechanism for
inheritance (yet).
|
by: jaywak |
last post by:
Just tried running some code on Linux (2.4.21-32.0.1.EL and Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)) and Windows XPSP2 (with Java HotSpot(TM) Client VM (build 1.5.0_11-b03, mixed mode, sharing)) and in both cases, get the following list returned from calling getDeclaredFields() on java.lang.ClassLoader via this code snippet:
Field fields = loaderClass.getDeclaredFields();
for (int i = 0; i <...
|
by: jaimemartin |
last post by:
hello,
I want to validate an xml by means of a schema (xsd). To do that first of all I´m using a SchemaFactory. The problem is that if I run the code in Windows all works fine, but If I run it in Linux there is an error. The code that fails is the following:
SchemaFactory factory =
SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
I´m sure that code is ok. In fact, I´ve found that in several...
|
by: oll3i |
last post by:
package library.common;
import java.sql.ResultSet;
public interface LibraryInterface {
public ResultSet getBookByAuthor(String author);
public ResultSet getBookByName(String name);
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |