This week's book giveaway is in the OCP forum.
We're giving away four copies of OCP Java SE 8 Programmer II Exam Study Guide and have Kathy Sierra, Bert Bates, & Elizabeth Robson on-line!
See this thread for details.
Win a copy of OCP Java SE 8 Programmer II Exam Study Guide this week in the OCP forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Screen Scraping with Java - how ?  RSS feed

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can somebody give me an idea about How to do screen scraping with Java.
We have a project that involves Enterprise Application Integration with Web Interface with a limitation to use Screen scraping. The mainframe emulator displays the Green Screen and data needs to be captured from this screen with Screen Scraping using Java.
 
Ranch Hand
Posts: 251
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What's the communication protocol? If you're using telnet (or anything else related to sockets), you can set up a socket stream to read/write to the socket. Then it's pretty much terminal emulation from there. Think almost like challenge/response. Expect an input, respond with a certain output. The problem then lies in security, or if the other end changes the screens around.
 
(instanceof Sidekick)
Ranch Hand
Posts: 8791
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you're going after IBM 3270 screens - CICS, IMS, etc. - you may have to look at commercial products. IBM has connectors for WebSphere, Attachmate has a suite of products for generic Java servers. This was a very busy product space for a while - there are a few other vendors I can't recall names for.
 
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For automating Telnet tasks take a look at the TelnetScript and TelnetTask classes offered in iNet Factory. http://www.jscape.com/inetfactory/
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!