File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Distributed Java and the fly likes how to connect legacy system using java? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Reply Bookmark "how to connect legacy system using java?" Watch "how to connect legacy system using java?" New topic
Author

how to connect legacy system using java?

raghavan
Greenhorn

Joined: Mar 03, 2001
Posts: 9
How to retrive data's from legacy Systems databases like SAP and AS400 using java..if any one already worked onit, possible send some coding .
Suneel Setlur
Ranch Hand

Joined: Nov 26, 2000
Posts: 202
Hi
You can use any messaging software. JMS,MQ Series, TIBCO or CORBA. All of them work with Java

Suneel
raghavan
Greenhorn

Joined: Mar 03, 2001
Posts: 9
Hi suneel
thanks for u r reply.
I need to connect using EJB,how to proceed with .
any key info about what packages to be used.
Suneel Setlur
Ranch Hand

Joined: Nov 26, 2000
Posts: 202
Hi
If it is EJBs you want to connect then you have to use the Java Connector Technolgy. Don't think any App Server has implemented it. Alternatively you could use IBM based connectors. This, I think is available.
If you get something along these lines..do put it here.
Suneel
raghavan
Greenhorn

Joined: Mar 03, 2001
Posts: 9
Sure
Vivek Viswanathan
Ranch Hand

Joined: Mar 03, 2001
Posts: 350
Hi
If the legacy system does not use Messaging System, and if you have a set of interfaces that,the legacy system supports you can write CORBA Object Mappers, to provide an interface to the Legacy system and then use either EJB or Java Client to acess the CORBA object using RMI-IIOP to access the Legacy System.
You can probally get more information about Object Mappers to know the exact details.
If you do not have access the interface provided by the Legacy System you can use Java Based Screen Scrapers. Screen Scrapers read data of the 'Green Screen' and provide you with probally a Web based interface. The problems with this method is that you will have to use a thrid party Screen Scrapper Software, and any change in the 'Green Screen' will require change in the Configuration of the Screen Scrapper.
Get More information about Screen Scrappers
Vivek


Vivek Viswanathan SCJP 1.2, SCJP 1.6,SCJD,SCEA,SCWCD,IBM-484,IBM-486,IBM-141,Ms.NET C# 70-316,SCMAD, LPIC-I
raghavan
Greenhorn

Joined: Mar 03, 2001
Posts: 9
Hi vivek
I tried using CORBA iam almost 80% completed iam getting only one error (ie) in passing properties in argument list..iam getting verify error..iam not getting error if bind single object and access data from legacy system..if i pass properties as argument i need not want to bind every object ,here iam getting error. if u could help ..
regds
raghavan
Vivek Viswanathan
Ranch Hand

Joined: Mar 03, 2001
Posts: 350
Hi
I have totally understood your problem , can u please give me some more description, I may be able to help you. I have not done any hard core CORBA programming, but I have done a lot of Java EJB Programming, but I can still try and help you out
Vivek
Peter Tran
Bartender

Joined: Jan 02, 2001
Posts: 783
raghaven,
We have a naming policy at JavaRanch. Please re-register with a valid first name-space-last name.
You can try posting some of your code to see if we can help you out.
Thanks,
-Peter
raghavan
Greenhorn

Joined: Mar 03, 2001
Posts: 9
Hi vivek

iam explaning you the real situation..
iam try to connect with Lotus Domino server using NCSO.jar
coding goes like this
java.util.properties props = new java.util.properties();
props.put("org.omg.CORBA.ORBClasses","com.ibm.CORBA.iiop.ORB");
***problem starts here
ORB = ORB.init(args,props);
error msg: java.lang.verifyerror.
 
 
subject: how to connect legacy system using java?
 
Threads others viewed
finalize method
Transaction
message-driven bean to wrap legacy applications
Another 'Y' game
JSP Initialization Parameters
IntelliJ Java IDE