Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to connect legacy system using java?  RSS feed

 
raghavan
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 202
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
You can use any messaging software. JMS,MQ Series, TIBCO or CORBA. All of them work with Java
 
raghavan
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 202
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sure
 
Vivek Viswanathan
Ranch Hand
Posts: 350
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
raghavan
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 350
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 783
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!