473,326 Members | 2,438 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

java inside c#

any one has experiance in programming java inside c#?
Is it hard or easy?

Best regards
Pujo
Nov 16 '05 #1
16 1601
Java and C# are their own languages and have nothing to do with each other.
Can you be more specific as to what you mean "programming java inside c#"?
"Pujo Aji" <aj****@gmail.com> wrote in message
news:O8**************@TK2MSFTNGP11.phx.gbl...
any one has experiance in programming java inside c#?
Is it hard or easy?

Best regards
Pujo

Nov 16 '05 #2
Pujo Aji wrote:
any one has experiance in programming java inside c#?
Is it hard or easy?


You can access java libraries from .NET or vice versa using IKVM. You
can even convert java-bytecode to a .NET assembly.
http://www.ikvm.net/

If you're doing a GUI program though, it is probably best to stick with
just java (and swing) or just .NET (windows.forms or whatever).

If you are not experienced with C# or Java, you might check out boo, a
simple programming language like python that runs on .NET:
http://boo.codehaus.org/
Nov 16 '05 #3
I just thought that combining language is cool, so for example java have
piped architecture paradigm, if this can be implemented in C# this could be
very good.

I just wonder if we can write full java program/code and C# together in
Visual studio.
Best Regard
Pujo
"Peter Rilling" <pe***@nospam.rilling.net> wrote in message
news:us**************@TK2MSFTNGP09.phx.gbl...
Java and C# are their own languages and have nothing to do with each
other. Can you be more specific as to what you mean "programming java
inside c#"?
"Pujo Aji" <aj****@gmail.com> wrote in message
news:O8**************@TK2MSFTNGP11.phx.gbl...
any one has experiance in programming java inside c#?
Is it hard or easy?

Best regards
Pujo


Nov 16 '05 #4
Pujo Aji <aj****@gmail.com> wrote:
I just thought that combining language is cool, so for example java have
piped architecture paradigm, if this can be implemented in C# this could be
very good.
What exactly do you mean by "piped architecture paradigm"?
I just wonder if we can write full java program/code and C# together in
Visual studio.


Well, there's J# which compiles to IL as well...

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Nov 16 '05 #5
Have you ever worked with a product called Eclipse? It is written in java,
and I've heard rumors that you can use it as a framework within which you
can write .net applications. What's your take on it?

"Jon Skeet [C# MVP]" <sk***@pobox.com> wrote in message
news:MP************************@msnews.microsoft.c om...
Pujo Aji <aj****@gmail.com> wrote:
I just thought that combining language is cool, so for example java have
piped architecture paradigm, if this can be implemented in C# this could
be
very good.


What exactly do you mean by "piped architecture paradigm"?
I just wonder if we can write full java program/code and C# together in
Visual studio.


Well, there's J# which compiles to IL as well...

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too

Nov 16 '05 #6
David Levine <no****************@wi.rr.com> wrote:
Have you ever worked with a product called Eclipse?
Certainly have. It's wonderful.
It is written in java, and I've heard rumors that you can use it as a
framework within which you can write .net applications. What's your
take on it?


Well, there's a 3rd party C# editor plugin, but last time I looked it
was abysmal. It may have improved, but I doubt that it's anything like
up to the level of the Java tooling (which is excellent).

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Nov 16 '05 #7
"Jon Skeet [C# MVP]" <sk***@pobox.com> wrote in message
news:MP************************@msnews.microsoft.c om...
David Levine <no****************@wi.rr.com> wrote:
Have you ever worked with a product called Eclipse?
Certainly have. It's wonderful.


What do you like about it? How does it compare to the .NET framework and
tools?
It is written in java, and I've heard rumors that you can use it as a
framework within which you can write .net applications. What's your
take on it?


Well, there's a 3rd party C# editor plugin, but last time I looked it
was abysmal. It may have improved, but I doubt that it's anything like
up to the level of the Java tooling (which is excellent).


That's not encouraging. It's being pushed down on us from upper mgmt as a
framework that we should use for our .net applications. Do you have any
thoughts on what the likely result of trying this would be?

Thanks,
Dave
Nov 16 '05 #8
David Levine <no****************@wi.rr.com> wrote:
"Jon Skeet [C# MVP]" <sk***@pobox.com> wrote in message
news:MP************************@msnews.microsoft.c om...
David Levine <no****************@wi.rr.com> wrote:
Have you ever worked with a product called Eclipse?


Certainly have. It's wonderful.


What do you like about it? How does it compare to the .NET framework and
tools?


It doesn't really compare to .NET at all in itself - it's an IDE (or
toolkit for building an IDE and similar things) rather than a platform
in the way that .NET is.

Compared to VS.NET, it has various advantages and a few disadvantages.
It has better (IMO) intellisense, partly because when there are
multiple overloads it gives you a dropdown tooltip rather than a single
line...
It is written in java, and I've heard rumors that you can use it as a
framework within which you can write .net applications. What's your
take on it?


Well, there's a 3rd party C# editor plugin, but last time I looked it
was abysmal. It may have improved, but I doubt that it's anything like
up to the level of the Java tooling (which is excellent).


That's not encouraging. It's being pushed down on us from upper mgmt as a
framework that we should use for our .net applications. Do you have any
thoughts on what the likely result of trying this would be?


Yes - pain. Eclipse is fundamentally Java-based. While you *can* use it
to develop .NET, it's far from the best choice, and certainly you don't
want to use the platform side of it as the basis of a .NET application.

It's very much like trying to use VS.NET (minus J#) for Java
development. It can be done, no doubt, but it would be very silly to do
it.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Nov 16 '05 #9
piped architecture paradigm is other paradigm which combine the filter and
pipe data, so you bild filter and pipe and than start the threading of each
filter. the pipe only know to transfer data, the filter only know to receive
data and write data using pipe.

Pujo
"Jon Skeet [C# MVP]" <sk***@pobox.com> wrote in message
news:MP************************@msnews.microsoft.c om...
Pujo Aji <aj****@gmail.com> wrote:
I just thought that combining language is cool, so for example java have
piped architecture paradigm, if this can be implemented in C# this could
be
very good.


What exactly do you mean by "piped architecture paradigm"?
I just wonder if we can write full java program/code and C# together in
Visual studio.


Well, there's J# which compiles to IL as well...

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too

Nov 16 '05 #10
Hello,

I use eclipse (build by IBM) to developt java program, I don't know if we
can developt .net framework. It is cool (has refactoring) and moden IDE
looknfeel. But I still think that Visual Studio is the best IDE.

Pujo
"David Levine" <no****************@wi.rr.com> wrote in message
news:OU**************@TK2MSFTNGP10.phx.gbl...
Have you ever worked with a product called Eclipse? It is written in java,
and I've heard rumors that you can use it as a framework within which you
can write .net applications. What's your take on it?

"Jon Skeet [C# MVP]" <sk***@pobox.com> wrote in message
news:MP************************@msnews.microsoft.c om...
Pujo Aji <aj****@gmail.com> wrote:
I just thought that combining language is cool, so for example java have
piped architecture paradigm, if this can be implemented in C# this could
be
very good.


What exactly do you mean by "piped architecture paradigm"?
I just wonder if we can write full java program/code and C# together in
Visual studio.


Well, there's J# which compiles to IL as well...

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too


Nov 16 '05 #11
Pujo Aji <aj****@gmail.com> wrote:
piped architecture paradigm is other paradigm which combine the filter and
pipe data, so you bild filter and pipe and than start the threading of each
filter. the pipe only know to transfer data, the filter only know to receive
data and write data using pipe.


Well that's certainly not exclusive to Java. C#/.NET has streams too -
you can do it just as easily in .NET as in Java.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Nov 16 '05 #12
Any idea what you mean by Java inside C#? J#?

with regards,
J.V.Ravichandran
- http://www.geocities.com/
jvravichandran
- http://www.411asp.net/func/search?
qry=Ravichandran+J.V.&cob=aspnetpro
- http://www.southasianoutlook.com
- http://www.MSDNAA.Net
- http://www.csharphelp.com
- http://www.poetry.com/Publications/
display.asp?ID=P3966388&BN=999&PN=2
- Or, just search on "J.V.Ravichandran"
at http://www.Google.com

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 16 '05 #13
>
Yes - pain. Eclipse is fundamentally Java-based. While you *can* use it
to develop .NET, it's far from the best choice, and certainly you don't
want to use the platform side of it as the basis of a .NET application.

It's very much like trying to use VS.NET (minus J#) for Java
development. It can be done, no doubt, but it would be very silly to do
it.

Some people use religous impulses instead of engineering discipline, and
members of the "I hate Microsoft" crowd are very capable of making silly
decisions. Thanks for the input.

Nov 16 '05 #14
it is only simply combine java language with C# language under Visual Studio
IDE.

Best Regards
Pujo
"Ravichandran J.V." <jv************@yahoo.com> wrote in message
news:eu**************@TK2MSFTNGP15.phx.gbl...
Any idea what you mean by Java inside C#? J#?

with regards,
J.V.Ravichandran
- http://www.geocities.com/
jvravichandran
- http://www.411asp.net/func/search?
qry=Ravichandran+J.V.&cob=aspnetpro
- http://www.southasianoutlook.com
- http://www.MSDNAA.Net
- http://www.csharphelp.com
- http://www.poetry.com/Publications/
display.asp?ID=P3966388&BN=999&PN=2
- Or, just search on "J.V.Ravichandran"
at http://www.Google.com

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 16 '05 #15
Great ! Thanks for your reply. I was feeling quite stupid not knowing
what this new technology was all about !:)

with regards,
J.V.Ravichandran
- http://www.geocities.com/
jvravichandran
- http://www.411asp.net/func/search?
qry=Ravichandran+J.V.&cob=aspnetpro
- http://www.southasianoutlook.com
- http://www.MSDNAA.Net
- http://www.csharphelp.com
- http://www.poetry.com/Publications/
display.asp?ID=P3966388&BN=999&PN=2
- Or, just search on "J.V.Ravichandran"
at http://www.Google.com

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 16 '05 #16
Just out of idle curiousity, will J# emit Java IL or strictly MSIL?

If so, it seems like it might be possible and maybe even easy using
reflection to emit IL.

"David Levine" <no****************@wi.rr.com> wrote in message
news:uR**************@TK2MSFTNGP09.phx.gbl...

Yes - pain. Eclipse is fundamentally Java-based. While you *can* use it
to develop .NET, it's far from the best choice, and certainly you don't
want to use the platform side of it as the basis of a .NET application.

It's very much like trying to use VS.NET (minus J#) for Java
development. It can be done, no doubt, but it would be very silly to do
it.

Some people use religous impulses instead of engineering discipline, and
members of the "I hate Microsoft" crowd are very capable of making silly
decisions. Thanks for the input.

Nov 16 '05 #17

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: Lem | last post by:
I get the error Exception in thread "main" java.lang.NoClassDefFoundError when I type java app2 in the command prompt. I've tried moving to the jre directory and typed java c:\app2\app2, but it...
1
by: Jens Mueller | last post by:
Hi there, this is a Java-XML Question, so I am not sure whether this is the right place, haven't found anything better .... I try to convert a Java object to XML via SAX and let the FOP...
11
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...
5
by: r035198x | last post by:
Setting up. Getting started To get started with java, one must download and install a version of Sun's JDK (Java Development Kit). The newest release at the time of writting this article is...
0
Debadatta Mishra
by: Debadatta Mishra | last post by:
Introduction In this article I will provide you an approach to manipulate an image file. This article gives you an insight into some tricks in java so that you can conceal sensitive information...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.