Java vs .NET

Status
Not open for further replies.

BlackHex

Ars Tribunus Angusticlavius
9,638
Subscriptor++
Originally posted by Man with no head:
Well the heart of the matter is that Java and J2EE engines runs *today* on all platforms from small to big
Great - thanks, I think we had all grasped the fact that Java has much greater cross-platform availability (.net being Windows only right now) and agreed this is a major point in it's favour.

The fact is the vast majority of big financial institutions (not cherry picked little outlets, but the ones shuffling trillions of $) in my business are using it much deeper in the IT infrastructure than Wintel offerings.
Really I couln't care less what other people are using - what I was after was a comparision of the abilities of each tech. .Net obviously isn't in wide use as it's still in the release process, but to my mind to simply ignore it is to miss out on what might (or might not) be usefull.

Contrary to what MS marketing department try to pound into people heads, .NET is *not* 30x faster than Java/J2EE,
Thanks - one of my questions was how much / if any faster .Net is, I have no inclination to beleive marketing hype and was hoping some people could give me some real world data on the relative speeds.

No it's not, distributed computing is harder and more complex to managed than a centralized one - this all cost money - and this is why Windows have a hole plethora of admin tools, consoles, distribution thingies to lessen the burden - but it's still a burden.
But surely that is only the case because in the centralised system the management stuff is built into the hardware?

I.e. what I'm trying to say is that 'in principle' a centralised multi-processor server is fundamentaly no different to a distributed multi-processor server, they all have to co-ordinate multiple processors, they all have to mange some form of shared resources, and they all have to remain well synchronised.

In reality the difference comes down to the methods of syncronisation (hardware vs software) and the methods for sharing data (the hardware bus or the network).

As to being harder to manage is that not down to the fact that you have to do the management as opposed to the people who designed the big-iron working out how the management should be done and hard-wiring it?

Maybe I'm wrong - as I said most of my knowledge of multi-proc and clustered systems comes from books.

Actually we haven't had a downtime for several years due to hardware failure, that's pretty much a PC type of thing. We can for example signal to the OS that we want to remove a CPU board and it will move by itself the processes and data to the remaining CPU boards without disrupting the system and we have other systems which do everything in // (Stratus/Tandem) and you can actually take a shotgun to one of the machines and nothing will stop.
OK, that's a nice feature but surely you could say the same about clustered machines (not necessarily PC's). As to PC's crashing alot agreed it is more likely since there is alot of different bits of kit flying in formation - but most crashes I've seen come down to badly written OS's which are thankfully now improving (and I don't just mean Windows).

Yes but at one point replacing a freight truck with a bunch of guys peddling on bicycles cost more $ and sometimes is doesn't even work like it should - of course if you only have a handful of servers, your not a potential big iron candidate.
Yes - but theoreticaly if the clustering software was well written it would work. I don't disagree that alot of the current systems don't work but that doesn't dent the theory does it?

Because the actual fundamental and strategic advantage of Java over .NET that Wintel lovers always want to forget about is that Java/J2EE is actually usable and deployable on the platforms that a lot of big time corporations (the ones with the big $) want to use and regardless of what dev heads think, production guys *always* runs the show - that's why it's having such a big success even if you think it sucks and you like having Microsoft Windows, along with Microsoft VS.NET, Microsoft Visio, Microsoft SQL Server, Microsoft BizTalk, Microsoft AppCenter, Microsoft this, Microsoft that.
Quite frankly I couldn't give a damn whether MS is involved or not - and in no way do I think Java as a concept sucks (clearly MS doesn't think so either). Personally I think the language is limited and the GUI is slow, and given that most of my work is done on GUI's this bothers me. Obviously my impresion of Java GUI speed is based on a low count of examples which is why I was asking here for other peoples experiences.

Having the possibility to run or make VB code along C# or some additional statements in your preferred language is very low on the list of priorities of the people who will actually decide what to use and pay you.
That all depends on my productivity with said language - if .Net is twice as fast to develop for because C# is a more powerfull language then that is a strong argument not to run Java. But I don't have any objective evidence either way on that - hence requesting the Ars readers opinions.

Well given what I have just told you, obviously I don't think scale out clustering (especially not the primitive MS kind) is a good solution for middleware, business code or data tier work, so I would keep .NET to thin client GUI work and look at Java/J2EE for the business code and middleware access.
Thanks - this is the sort of thing I'm looking for!
I have no real problem with Java for the backend stuff - as we have covered repeatedly it does run on a lot of platforms and is proven.

So you thinking about a job market by considering how much you 'like' your dev tools instead of what people are actually using and what/how much you can fish out?
To my mind if I don't like the Dev tools then I won't be happy in my job, ergo I won't do my best work, ergo I'll be back looking for another job soon. So to me whether the Dev tools are up to scratch is definately an issue of as greater importance as salery and to take on a job in which I won't be happy is as unfair to the employer as it is to me.
However, if the tech is the best for the job then there is a strong incentive to work around the limitations of the Dev tools - it all comes down to whether something is worth the effort.


And yet you seem to know it all when it's time to compare what these platforms can do and of course by consequence, you 'expertly' don't think that MS is at a disadvantage by not having .NET run on these systems.
Erm - I most definately don't 'Know it All' (hence asking in here) and don't beleive I ever stated that I did, what I have done however (above) is to try to read a bit between the lines of the arguments flying back and forth and offer up my impresions for discusion - if I get my interpretations wrong then I need to be told that so that I can correct them.

I don't beleive that I have ever stated that MS isn't disadvantaged by not running on all platforms, but then again as far as GUI's go (at least the ones I am thinking about) I would be happy to run differing systems on the backend to the frontend - it all comes down to getting the best mix of technologies.
 
Originally posted by BlackHex:
Really I couln't care less what other people are using - what I was after was a comparision of the abilities of each tech. .Net obviously isn't in wide use as it's still in the release process, but to my mind to simply ignore it is to miss out on what might (or might not) be usefull.
It's not a question of ignoring, it's all about *when* (the timing) it's actually useful and advantageous to make a move on it and when the return on investment in using any new 'out of the door' tech is realistic.
Thanks - one of my questions was _how much / if any_ faster .Net is, I have no inclination to beleive marketing hype and was hoping some people could give me some real world data on the relative speeds.
There has been ample primitive Java vs. C++ vs. VB benchmarks done over the years - you can find them on the Internet, but you should really try against your *own* code and put back the various speed differences in the overall bigger picture.
But surely that is only the case because in the centralised system the management stuff is built into the hardware?

I.e. what I'm trying to say is that 'in principle' a centralised multi-processor server is fundamentaly no different to a distributed multi-processor server, they all have to co-ordinate multiple processors, they all have to mange some form of shared resources, and they all have to remain well synchronised.
Yes it is fundamentally different because in a share-nothing cluster the machines don't share a single unified OS instance, process scheduler, memory, processes, I/Os, '¦ which make synchronous and transactional components working across different systems very hard to manage and keep reliable.
In reality the difference comes down to the methods of syncronisation (hardware vs software) and the methods for sharing data (the hardware bus or the network).

As to being harder to manage is that not down to the fact that you have to do the management as opposed to the people who designed the big-iron working out how the management should be done and hard-wiring it?
Like I said above, big iron == single OS instance, share-nothing clusters == multiple OS instances which have to agree on how they will work together and access or synchronized the work and resources through more software layers == additional problems.
Yes - but theoreticaly if the clustering software was well written it would work. I don't disagree that alot of the current systems _don't_ work but that doesn't dent the theory does it?
Technically yes, but in reality it never really does. I build a great number of VMS clusters using 1337 hardware stuff like CIs (Computer Interconnects) because VMS/Vax machines didn't scale up well at all and in the end they never were as powerful, easy to manage or as reliable than mainframes. IBM mainframe clustering technology (sysplex) isn't a silver bullet either and the current technological and maturity level of Wintel clustering is not yet even up to what DEC use to offer in the early '90s.
Quite frankly I couldn't give a damn whether MS is involved or not - and in no way do I think Java as a concept sucks (clearly MS doesn't think so either). Personally I think the language is limited and the GUI is slow, and given that most of my work is done on GUI's this bothers me. Obviously my impresion of Java GUI speed is based on a low count of examples which is why I was asking here for other peoples experiences.
I use JBuilder 6 with the JDK 1.4 beta which has native hardware accelerated widgets and controls, but you can also try the Eclipse IDE (www.eclipse.org) which works under 1.3 and see how Java GUIs can actually be fast. For the language itself, it's only missing a sparkle of statements and pointers, pointers which have proven themselves to be one of the highest source of problems in C/C++ applications. The OO purity of Java can be a burden for some people, personally I favor a heavily reusable and strongly marshaled approach since it's more suitable for multiple big projects done in parallel where a lot of people are involved.
That all depends on my productivity with said language - if .Net is twice as fast to develop for because C# is a more powerfull language then that is a strong argument not to run Java. _But_ I don't have any objective evidence either way on that - hence requesting the Ars readers opinions.
Well do prove to me in what way using .NET and/or C# makes a team of developer 100% productive than J2EE and Java.

Like already stated, I have a Java tool set, which has for example:

- Standard/industry support from all known middleware makers/vendors regardless of platform
- Dictionary-based business rule tools
- Bi-directional modeling tools, bi-directional data schema extractors/loaders
- GUI wizards/designers
- Web Services support
- Publishing and exchanging data using XML, plus XML data binding
- Database schema extractors/loaders
- Repository tools
- Code refactoring to efficiently rename classes, methods, fields, and packages; move classes and packages automatically
- Automated documentation tools
- Support for UML notation diagrams, code generation, reverse engineering, and roundtrip engineering with automatic code and model synchronization
I don't beleive that I have ever stated that MS isn't disadvantaged by not running on all platforms, but then again as far as GUI's go (at least the ones I am thinking about) I would be happy to run differing systems on the backend to the frontend - it all comes down to getting the best mix of technologies.
As long as we are talking 'light' front ends which can be very business or technologically volatile, I agree with this - this is why I think we will probably use .NET for delivering some GUI based services - just like we are using VB today.

For the middle-tier and backend-tier (where most of the action and investments are), for the various reasons I mentioned before, I don't believe .NET is currently suitable or the best option.

Now whatever this has an influence in what kind of dev gigs you want to take is up to you.

--- MWNH ---
 

green_buddy

Wise, Aged Ars Veteran
126
So that was an earful in one sitting. Although I'd like to disagree with MWNH he makes it awefully hard. My dad works at IBM and I've been hearing the big iron bit for quite some time, and the IBM this and IBM that... brings back some not-so-fond discussions with good 'ol dad.

But after using both C/C++/VB & Java, I have to admit I find very little useful about the visual dev tools of microsoft, and have used everything from VB, C++, MS-Visual J++, and briefly .net studio (or whatever they call it now). I've worked for companies where java was the focus for everything, to where MS products was the focus for everything, and when the day was done, and the lessons were learned I felt ultimately that the pure java based toolsets of jdk1.x and j2ee were much better suited for all kinds of app development both front-end and backend. Sure, originally the java gui system found in java.awt was clunky, (and even the early swing implementation), but things have progressed a lot even in the last 2 years in that arena. But then again, if you've been married to the Visual family of ide products, and that's what you're familiar with, it's probably a moot point. The problem with that is, then you're constrained to doing all your development on a wintel box, and that might not always be your choice at a job. Last time I checked the people who hired me set those rules... 'cause trust me, if it were up to me, the world'd be perfect! ;)

The whole issue really isn't in processor speed anymore, 'cause where are we now at 2.2 GHz? I mean, come on, if you think java is slow on a 2.2 GHz machine with jdk1.3+ you're reaction times are a step above the rest of us. I can't even see it being a big deal for anything above 1 GHz.

Of course, the real benefit for me isn't the development environment, 'cause my ide of choice was JBuilder3.0 Professional, and that's been fine for me so far until jdk1.4 beta... for some reason it doesn't like to be able to use that jdk version at all. It gives me a nice fat error complaining about how it's version is invalid. I knew that was going to happen at some point. What I like about it is that all tools seem to be built in the same way. Everything (with minor exceptions) seem to be found in relatively the same place, or atleast (with a little deductive reasoning) somewhere that makes sense.

What I like most is how insanely productive it makes me. Way more so than any MS-VC++ app I've ever written (or tried to write), or any c++ or c app I've been working on. When comparing the two based on pure productivity alone, I'm hands down far more productive in the Java environment. Not to mention the fact that the organization I was at last has now moved to a different strategy (trying to sell the company rather than the product), 'cause they couldn't easily extend the functionality of their vb/c++/com/dcom based app. Coudln't come to grips with the development process, and always had server down-time, except for one... weblogic running on a sun box was always up running it's j2ee app like it'd had never been asked to serve up a request.

Good luck with duking out the hardware fight above guys! And I hope you find the answer to your questions somewhere in this thread Hex. ;)

-green_buddy
 

WeaselGod

Wise, Aged Ars Veteran
101
Well I am coming a bit late to the conversation but there are a couple points I would like to clarify.

we know that C, C++ or C# isn't 30x faster than Java - any idiot can figure that one out.

C++ isn't 30x faster, but from my experience (ActiveX controls and Java Applets running client side in a browser) C++ is 5x to 10x faster compared to the Java Applets run in the MS JVM. Our java code is optimized to all hell to get that kind of performance (our C++ code is not) and the MS JVM is by far the fastest one available for windows (The newest sun VM is so fricken slow, and thats without the swing overhead). Server side code might be a different story since jsp pages and servlets all run in the same memory space, I don't really have any experience with that. However I would wager to bet that .net services can hold their own.

[EDIT] and for those who think that the java speed issue is a moot point because machines are insanely fast I would beg to differ. If you look at the speed of most machines in the business world I think you will find the number of Ghz + machines to be by far the minority. I would suspect that the average machine speed is around 450MHz, in which I do notice the difference in Java execution (of course I am in the browser so tack on 2 seconds for the MS JVM to instantiate or 5 to 10 seconds for the Sun JVM).

If somebody like IBM or Oracle comes up with a CLI under Solaris or AIX, we might look at it, otherwise like I sai, it we be just a small irrelevant anecdote like current COM offerings under Unix are.

I think you would be surprised. If you look at the current sponsors for TechEd you will find IBM at the top of the list. IBM seems very interested in creating compatible versions of the CLR for their systems. They seem to have finally stopped being bitter about that whole dos thing (though they still claim Java is so much safer then activeX because of the sandbox, and the first thing IBM Host on Demand does is declare every access permission under the sun for disk I/O and Registry access.)

As for the whole scaling, vertical or horizontal and what not, there are arguments both ways. I see a lot of big iron being used for enterprise application deployment, however most large websites (google, all of Microsoft's sites, etc) use clusters, though occassionally I will see a large site being hosted on an OS/390 system or something. I think for your initial .net deployments you will probably see web services running on clusters, simply because companies don't want to spend the money to migrate their enterprise applications (regardless of what system they are on). Future enterprise applications might be written for .net, but companies have invested so much money in their existing infrastructure that you will probably never see them ditch their big iron systems (though they will probably set up some host publishing or host integration solutions to make the applications more accessible. These solutions would be ideal as .net applications).

So anyway, I guess my points, however convoluted I arrived at them, are that java is slower (already established), .net will not be a Microsoft specific solution, though the development tools will probably be primarily MS, and that just because companies still have big iron does not imply that they have no use for .net. Java won't go away any time soon, but .net is going to start eating its market share in my opinion.

- WG

[This message was edited by WeaselGod on January 25, 2002 at 12:33.]
 

yakyakly

Ars Tribunus Militum
2,320
When comparing the two based on pure productivity alone, I'm hands down far more productive in the Java environment

I would agree with this until .NET came along. I'm far more experienced in Java/J2EE dev, but I find myself getting more enjoyment out of working with the .NET Framework. I use Eclipse for Java/J2EE work, and I have found it to be the least painful to use IDE for that sort of work by far. As good as Eclipse is, VS.Net is definitely better.

I like working with J2EE and the Java2 standard library, I just find that Microsoft's solution is a cut above. However, until there are plenty of companies out there to hire me to do .NET work, for me it will remain a toy for home.

Kyle
 
We designed and began implementing a very large project over about 8 months at the company I work for. We were writing in Java at the time, having some 30 thousand lines of code. When .NET came out in Beta, we played around with it. By Beta 2, we had dropped Java altogether and ended up rewriting the application in C#, VB.NET, and ASP.NET. At this point, none of us will consider ever going back to Java again.

Development has been significantly easier and faster, and the application showed notable performance gains. In my opinion and experience, .NET is superior to Java.
 

wb

Ars Legatus Legionis
25,208
Subscriptor
Portability... two words, open source. Within months we will be able to run .NET programs on Linux thanks to the Mono project. How many hardware platforms does Linux run on?

Right. You go tell a Fortune 500 company that they should uninstall the OS currently running on the machine which is supporting all of their 3rd party and in-house apps (of which perhaps 30% have ports to linux), and replace it with Linux so they can integrate with .NET.

On the other hand, java runs fine on that machine as-is.
 

BlackHex

Ars Tribunus Angusticlavius
9,638
Subscriptor++
Well, having now had several days to play with both VS.Net (Beta 2) and Forte Java I am of the opinion that:

VS.Net is a much nicer IDE than Forte, but that VS.Net is nowhere near as clean and simple as it could be. And the new totaly flat look is awfull - a little bit of definition to an interface goes along way towards aiding visual recognition.

C# is a nicer language.

Java appears to have a greater degree of layout managers (C# appeares to just have one?) although I'm not certain of this.

.Net is big and slow - pretty much nearly as bad as Java... urg.


Still Java holds the x-platform advantage by a long lead.


All in all I feel all sides have some work left to do...
 

yakyakly

Ars Tribunus Militum
2,320
.Net is big and slow - pretty much nearly as bad as Java... urg.

I haven't noticed this at all. I'd be curious as to what kind of hardware platform (cpu? how much ram?) you are using and what sort of development you are doing to make such a claim. I have yet to find a case where a Java app does not consume considerably more resources than a similar .NET app.

Kyle
 

bash666

Ars Legatus Legionis
24,417
Originally posted by yakyakly:
_.Net is big and slow - pretty much nearly as bad as Java... urg._

I haven't noticed this at all. I'd be curious as to what kind of hardware platform (cpu? how much ram?) you are using and what sort of development you are doing to make such a claim. I have yet to find a case where a Java app does not consume considerably more resources than a similar .NET app.

Kyle


The other thing about .NET, is once you have a .NET app open, you automatically(I know you can do this with java, although from my experience it is NOT the norm) get you next app for a minimal cost interms of system resources.

Yes, the first one requires 8 or 10 MB. But the next 4 may only need 1MB extra.

-Kevin
 

pdampier

Ars Legatus Legionis
16,955
But they do in teh typical memory capacity of end lusers's new computers bought form Best Buy(64,128,or 256)

Yeah but its going to be a while before user apps are running managed code on the CLR... In a year or so's time when 256 or even 512mb is the norm...

Server side is where the first apps will be and as Thanatos (used to be the name of a great BBS that!) mentioned 12mb out of 2gb is nothing.
 

pdampier

Ars Legatus Legionis
16,955
Huh? I already have a number of useful apps I use that run in the CLR. Plus a client server trading system for using in experimental economics

Coolness! Stick some extra memory in the client boxes :)

What do you think of Winforms then? We're currently getting many web apps rewritten in winforms for a richer user interface but still have them stream seamlessly into a web browser as each individual .dll is required. Its great getting back to rich applications - Its amazing how crappy web UI's really are for many apps...
 

BlackHex

Ars Tribunus Angusticlavius
9,638
Subscriptor++
I haven't noticed this at all. I'd be curious as to what kind of hardware platform (cpu? how much ram?) you are using and what sort of development you are doing to make such a claim. I have yet to find a case where a Java app does not consume considerably more resources than a similar .NET app.

Hmm - its a pIII 300 with 128Mb

The development isn't anything really complex, and I accept that the second instance isn't as bad but I really expected .Net to load the CLR into RAM and leave it there as part of the OS - so that that apparent slowdown wouldn't happen. Of course I know that is a waste of resources but so is whole bucketload of what 2K loads into memory...
 
What do you think of Winforms then? We're currently getting many web apps rewritten in winforms for a richer user interface but still have them stream seamlessly into a web browser as each individual .dll is required. Its great getting back to rich applications - Its amazing how crappy web UI's really are for many apps...

That's the best idea I heard coming from this .NET stuff.

Right now I'm working with one of our product groups that has a fat client and a web client and is looking for something in between. The two things that kill the server performance is the ISAPI component on the server side and the shear amount of XML data to get a decent set of record to browse. (It's a database app.) And the browser interface sucks ass...

q
 
Originally posted by Quality:
That's the best idea I heard coming from this .NET stuff.
Well since almost everybody has a Windows-something box around and that current GUI contenders aren't that pervasive or up to snuff, it would make sense (for me) to use it for GUI stuff of the rich thin client kind.

I'm thinking along these lines.

.NET thin client GUI that you can push around to Wintel clients <-> SOAP <-> Java-based middleware wrappers + business logic + application logic in some form of a J2EE engine that stays on the backend (from Wintel to mainframe) <-> direct links (JCA) <-> agnostic middleware <-> messaging/data links <-> core logic + data

--- MWNH ---
 

yakyakly

Ars Tribunus Militum
2,320
.NET thin client GUI that you can push around to Wintel clients <-> SOAP <-> Java-based middleware wrappers + business logic + application logic in some form of a J2EE engine that stays on the backend (from Wintel to mainframe) <-> direct links (JCA) <-> agnostic middleware <-> messaging/data links <-> core logic + data

This seems like one of the best ideas that I have heard in a while. WinForms apps seem to have killer performance compared to Java2 Swing apps, and you don't have to worry about some company maintaining a decent VM. The CLR works great, and you're virtually assured fantastic Win32 support. Plus, any Java2/J2EE developer worth his/her salt can easily pick up the .NET Framework, and VS.Net makes turning out quick GUI client apps a breeze.

Its great that Microsoft is really pushing open standards so that all of these different technologies can communicate effectively.

Kyle
 

Minux

Smack-Fu Master, in training
66
Oh my goodness, someone punch me in the face.

This is better than that, that is better that this. My dog is more hairy than that cat. I really like Java. Am I going to rule out any .NET framework languages? Of course not. What if I learn C# and it is super-nice and slick and it forces my roommate to shower, will I never program in Java or C++ again? No way. Java = good. .NET = good. Scheme = good. It's all good, man - can't we all just get along.


-Mx
 

pdampier

Ars Legatus Legionis
16,955
This seems like one of the best ideas that I have heard in a while. WinForms apps seem to have killer performance compared to Java2 Swing apps, and you don't have to worry about some company maintaining a decent VM. The CLR works great, and you're virtually assured fantastic Win32 support. Plus, any Java2/J2EE developer worth his/her salt can easily pick up the .NET Framework, and VS.Net makes turning out quick GUI client apps a breeze.

Its great that Microsoft is really pushing open standards so that all of these different technologies can communicate effectively.
Well the best thing we've found is that you can get a really rich client run in the browser in very small bits.

For example: Due to some of inherent limitations of a "web" interface some internal apps are activex controls of 1-2-3mb in size... Works "fine" on the LAN. Users in Europe on slower connections aren't as lucky. With WinForms we're splitting those same apps into 50-100k .dlls that stream down only as those parts of the apps functionality are needed. First visit to the "web" page loads the winform only - nothing else. Click on a button - bang the 50k .dll needed for that button is downloaded etc etc. All this gets cached so the parts of the app you use frequently are then always there in future. Nice thing is if that .dll is updated on the web server the next time the user clicks on some functionality using that .dll the updated version streams down to the client as needed. Very very slick.

In effect we get all the benefits of web apps in ease of deployment and use but a far richer canvas to write applications on.

Designing the app so that it can slipstream-download in multiple small .dll files is critical.
 
In effect we get all the benefits of web apps in ease of deployment and use but a far richer canvas to write applications on.

This is good for what I'm looking for since all the computers (clients and servers) are aready Windows anyway.

Is there some sort of overview on how to use this, (And only the pieces you want or need at this time) without either:

a) Wading through tons of documentation?

b) Wading through tons of marketing?

I really don't want a total .NET solution yet since it would be better to replace each layer one at a time. (Project wise and political wise...)

q
 

Handor

Ars Tribunus Militum
2,513
Hm, I had no idea that you could launch/embed WinForms controls out of the browser. That sounds neat. Like Java applets, I guess? Are they just ActiveX controls?

It's more or less the same idea, only done right. Since the security framework is in place, it should be a really fast, robust, and easy solution that avoids all the mess that was ActiveX. And as an additional perk for the developer, it has the deployment features of a web app: you can change it once and the changes are instantly propagated to all users.

That's a nice feature.

I really don't want a total .NET solution yet since it would be better to replace each layer one at a time. (Project wise and political wise...)

Well, if that's the case then it might be better to phase in an ASP.Net back end first if you haven't already. It's the logical first step, of course, and can be done with your existing interface code, and it has the fringe benefit of allowing choice if people want it (though maybe that's not important). Until someone finishes hosting Mono or p.net in Opera or Mozilla (and the runtime used is complete) it's not a viable delivery method for other clients, of course.

If you're ready to move on to the interface, however, I don't know what better reference you'll find than MSDN, though I haven't checked out the latest raft of books published. You can almost certainly find something that will cover it.
 

pdampier

Ars Legatus Legionis
16,955
A good place to start on streaming small chunks of Winform app to the browser:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnadvnet/html/vbnet10142001.asp

Also this is well worth watching, we've been working closely with Mark internally:

http://msdn.microsoft.com/theshow/Episode018/default.asp

One of the other cool things you can do is set up a web service to dynamically render the UI of a winforms app running within IE (or on its own). Winforms calls out to the web service and web service then passes back the relevent pieces of UI for that user in that role on that page... Quite slick and very flexible.

Theres more I beleive. I'll see if I can dig them up at work tomorrow.

Hm, I had no idea that you could launch/embed WinForms controls out of the browser. That sounds neat. Like Java applets, I guess? Are they just ActiveX controls?

As Handor says its activex done right with:

a) A robust and extremely granular security framework - You can totally control what code is allowed to do at a very very fine level. The security aspects are covered quite well in:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnadvnet/html/vbnet12112001.asp

b) Ability to split what you'd consider "Activex" down into tiny bite sized chunks that download as you click on buttons or forms. You don't have to stream it all in as one large blob of code.

Other links:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/techmap_richclient.asp

(Apologies for slow reply - been re-wiring the home lab all day - nightmare)
 
Status
Not open for further replies.