![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
Hi Dennis and Roy, What about converting to OpenROAD AppServer? ABF easily converts to OpenROAD at about 1 frame/process per day in my experience, or you could Transforge which takes you to 3 tier as part of the conversion. This way you end up with a scalable easily maintained solution which can run with any front end you like - java, vb, OpenROAD, eClient, , asp and any back end you like - Ingres, Oracle, MSSQL, many more. All without having to risk your core business logic. Look at http://supportconnectw.ca.com/public...enroadsupp.asp TEC265123 gives the recipe for converting ABF to OpenROAD. These CAWorld2004 presentations are appropriate too. http://agendas.ca.com/Agendas/Presentations/DO301SN.pdf http://agendas.ca.com/Agendas/Presentations/DO111SN.pdf There are many more. Also you should find some lively conversation on this subject over at the OpenROAD camp. Sign up at http://www.peerlessit.com/mailman/li...openroad-users Paul White OpenROAD Users List Administrator -----Original Message----- From: Roy Hann Sent: Friday, 25 February 2005 10:38 AM To: info-ingres (AT) cariboulake (DOT) com Subject: [Info-ingres] Re: Migrating ABF code to J2EE "Dennis Adams" wrote in message Anyone out there been looking at a way of migrating ABF code to JBOSS? What I am thinking is that Ingres Forms contain display & validation code, which could be converted to Java servlets (or maybe JSP / Struts ?). The OSQ Frame behind them could then become EJBs which communicate with the front-end. Fantasy? It would take a lot of careful design to put together a cross-compiling utility which could generate the new code from reading the abf database and underlying osq files. By my estimates, it would take about 6 months to get a proof of concept together. Any thoughts ? Anyone out there with hot "C" parsing knowledge ? From what I have seen so far, it may require a 2-phase parser, firstly to identify all the event code entry points and common variables, the second to actually parse the source code and generate the Java class files. First part of the project would require mapping all the ABF elements to the target Java types (Servlet, JSP, EJB, Session Beans etc. etc.). For that, we need a hot Enterprise Java architect, to sit alongside someone with understanding of ABF construction. This idea has been nagging me ever since CA Open Sourced Ingres. Please, someone put me out of my misery by either telling me it's a stupid idea, or that it has some potential. It's a fine idea, and Cognesis thought so too. But they went bust trying. There is also the problem that you would be using an OO paradigm to implement procedural code, so you'd end up with a dead-end solution: your Java code wouldn't really serve as the basis for future development. Perhaps my colleague Wojtek Rappak will elaborate. He has spent much more time thinking about this than I have. I am probably grossly simplifying his views, but I think he feels it's a no-hoper. All you can do is attempt to manually extract the business logic from the ABF (usually a titanic struggle all by itself), and then use that to design and implement an OO solution in the traditional way. The fundamental problem is that you can't write tools that will intuit meaningful business objects from traditional "4GL" code. A couple of years ago we tried to develop a server to run ABF by proxy: the idea was to provide an interface to the ABF logic so that it could be invoked from Java clients. We sorta got it working, but ABF's limited and patchy ability to "introspect" and fully expose its own meta-data made it impossible to use except in special cases, so we abandoned it. I suppose that we could now fix ABF so that it could give us the meta-data we would need, but I can think of about 20 other things I'd rather spend my energy on now. I still think this would be a better approach though, because you would use good Java to run good ABF/4GL, instead of generating (necessarily) crap Java to do things in an inescapably crap way. And you could continue to develop the 4GL code, so it wouldn't be a dead-end. However, the ideal solution is much more radical than anything we've mentioned above...but that's another thread for another time. Roy Hann (rhann at rationalcommerce dot com) Rational Commerce Ltd. www.rationalcommerce.com "Ingres development, tuning, and training experts" _______________________________________________ Info-ingres mailing list Info-ingres (AT) cariboulake (DOT) com http://mailman.cariboulake.com/mailm...py/info-ingres _______________________________________________ Openroad-users mailing list Openroad-users (AT) peerlessit (DOT) com http://www.peerlessit.com/mailman/li...openroad-users |
#2
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |