• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

how to connect legacy system using java?

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 .
 
Ranch Hand
Posts: 202
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sure
 
Ranch Hand
Posts: 350
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Bartender
Posts: 783
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic