This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Java in General and the fly likes Accessing Java objects from VB Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Accessing Java objects from VB" Watch "Accessing Java objects from VB" New topic
Author

Accessing Java objects from VB

SD Leech
Greenhorn

Joined: May 13, 2003
Posts: 16
Hi
Im trying to develop a middle tier in Java that VB can access from a GUI. The idea is to be able to write a GUI in any language which can integrate easily with Java. Can anyone give me advice?
thanks
Chris Mathews
Ranch Hand

Joined: Jul 18, 2001
Posts: 2712
I would strongly urge you to consider why you want to do this in the first place. I think you may be making the solution much more complex than it has to be. Unless there are compelling business reasons in your particular case, this type of architecture is unnecessary for most projects.
That said, your best bet would be to write all external interfaces of you middle tier using Web Services. This should give you the interoperability that you are looking for. However, this flexibility comes with a piece both in terms productivity and performance. Only you can decide if the cost is worth the benefits for your project, in the majority of my experiences I would say it is not.
[ May 22, 2003: Message edited by: Chris Mathews ]
SD Leech
Greenhorn

Joined: May 13, 2003
Posts: 16
Hi Chris
well the idea that the business tier can interact with any GUI type is partly because some of our customers specify a VB front end according to the boss - also we have more people that understand vb so if we can quickly create a RAD application built on top of our business layer then we dont necessarily have to train people in JAVA
you mention web services .... do you mean using xml as a service layer between the middle & front layers?
thanks
John Lee
Ranch Hand

Joined: Aug 05, 2001
Posts: 2545
you can use cobra to communicate between them.
Michael Morris
Ranch Hand

Joined: Jan 30, 2002
Posts: 3451
you can use cobra to communicate between them.
Only if you're Indian and have a flute. Otherwise it gets very dangerous. :roll:

By the way Don, I was a little concerned about you when I heard about the earthquake in Japan. Are you OK?


Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher
deepak kukreja
Ranch Hand

Joined: Aug 13, 2001
Posts: 54
Only if you're Indian and have a flute. Otherwise it gets very dangerous
Could u please tell me Michael what u meant by this statement.


Deepak<br />SCJP
deepak kukreja
Ranch Hand

Joined: Aug 13, 2001
Posts: 54
Only if you're Indian and have a flute. Otherwise it gets very dangerous
Could u please tell me Michael what u meant by this statement.
Deepak
John Lee
Ranch Hand

Joined: Aug 05, 2001
Posts: 2545
Originally posted by Michael Morris:
Only if you're Indian and have a flute.

who is that? sajay parjdgklheedp ind?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Accessing Java objects from VB
 
Similar Threads
java
How do I access java classes from VB
Calling Java webservices from VB app
Should Swing have changed in Java 1.5?
Swing vs VB