Forums Register Login

VB AND JAVA ?

+Pie Number of slices to send: Send
I want to use VB's Interface and coding of java. I know that it can be done by CORBA. But i am having difficulty in doing so. If any one knows about this plz tell me ...
Here's what i am thinking to do ...
For Example,
there is a button made in vb named and i want to execute java code when the button is pressed ...
Thx in advance ...
Rizwan Ahmed
+Pie Number of slices to send: Send
It's true that you could do that with CORBA, but you're talking about an investment in time and energy that hardly makes the effort seem worthwhile.
CORBA's intent is to facilitate interaction across platforms -- that usually means physical systems as well as programs written with different back ends in mind. So the abstract programming required to bind a VB button to some Java code is possible but fairly complicated. If you're just wanting to run a Java program on a VB button click, that's easy, but if you're trying to run method code through a VB interface, that's not. CORBA makes it possible, not easy.
+Pie Number of slices to send: Send
It seems to me what this world really needs is a java IDE that mimicks the IDE people use for VB..Visual Studio or the like. Present all the familiar VB widgets as Java Bean components, and let them wire up the UI of the app just like they do in VB...only the source code would be in java, and the UI forms would also compile down to java.
Basically, someone needs to create a 4GL-like front-end for java. This could significantly attract many VB programmers to java, and give them an incentive to migrate to java over .NET.
Just my 2 cents.
+Pie Number of slices to send: Send
But that's what every Java IDE with a window-builder already does!??!! JBuilder, VisualAge, IDEA and VisualCafe all work that way...
Kyle
+Pie Number of slices to send: Send
Yeah, putting a 4GL to Java I doubt makes it more attractive to VB programmers, just more attractive to people already interested in what Java has to offer.
I imagine the attraction of VB is its ability to take advantage of everything the Windows platform offers. Tons of neato button stuff, super-good libraries of swell controls, and of course with M$ trying to shove it in your face at every turn, it's like even thinking about choosing another platform is asking for trouble. ;-)
It's M$'s absurd posture to the market, making any tools besides inherently harder to use, that makes us even consider heavyweight models like CORBA as a bridge. Ick! Unclench for a second, Bill, willya? Or do you really need to own everything?
+Pie Number of slices to send: Send
Don't know if it helps, but check out this link:
http://users.rcn.com/danadler/papers/rmivb.doc
rama
+Pie Number of slices to send: Send
I actually worked on a project a few years ago when we did this. It was for a financial company and a large sized project.
We used a COM-CORBA Bridge to convert the IDL calls to generate a VB/COM Type library (TLB). We then used the TLB from within VB.
The company that we bought the bridge from washttp://www.visualedge.com/cgi-bin/templates/body/default.cfm.
I belive there are quite a few companies that provide these kind of software. I don't know if there's any Open SOurce initiative around this.
It worked pretty well as we were able to provide a look & feel the users were comfortable with and avoided the slowness and immaturity of Swing.(Flame me, if you want to but there was no way that swing was acceptable then.).
There were a few minor issues that we did run into with type conversions and handling of nulls but nothing very serious or nothing that couldn't be handled.
HTH and Do feel free to ask me any questions you may have.
Ravi
mooooooo ..... tiny ad ....
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 925 times.
Similar Threads
swing versus jsf
A scrolling window on JSP page
How do I access java classes from VB
Saving mail from outlook with attachment with Java
Java Learning
Thread Boost feature
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 06:33:45.