Re: INFORMIX-4GL AND JAVA
Posted in 2000
We found that we can make all or part of our 4gl applications available on the net (either HTML, or Java thin client) using Querix 4gl compilers. We would soon have all our applications on our site. It is easy and very cost effective. I believe querix have a demo running on their site you can look through. (http://www.querix.com/) In article <39532814.31E6242E@bourely.com>, Jamel SMATI <jamel_smati@bourely.com> wrote: > > > Mike Segel a 'crit : > > > As its been pointed out, > > you would be better off rewriting your 4GL functions into java. > > > > You could take a shortcut, and use JNI (Java Native Interface ) to C and > > compile your 4GL to C, but its going to be an ugly kludge. > > > > Did jou know how i can do this, because it's my need, i've got 4 functions > write in informix-4gl > ( for create customer, orders, and consult stock items ). So it's a small part > of my application, and we want > used this solution to create a web site for our customers. > > > > > BUT! If you bite the bullet and convert to Java, you then can run the code > > anywhere including the engine. (If you upgrade to 9.x IDSwhatever or > > Foundation.2000) > > > > Take the time and think about it. Doing the conversion now will end up > > being the best thing in the long run. Oh and do it by hand. This does two > > things. First it familiarizes you with the code, second, you are switching > > from a procedureal language to an OO language. You may want to consider > > redesigning your business logic. > > > > But hey, what do I know? > > I'm just getting paid to do Java against an Oracle database. (I'm getting > > paid to learn Oracle. Fancy that!) > > > > -Uncle Mikey. > > > > Jamel SMATI wrote: > > > > > Hi, > > > > > > How can i, used my informix-4gl functions inside a java program. > > > I supposed, i need to compile my informix-4gl functions in C with c4gl, > > > but after i don't know what to do. > > > > > > Then , i can develop a class accessed with RMI, and i don't have to > > > rewrite all my code. > > > > > > Thanks for your answers. > > Sent via Deja.com http://www.deja.com/ Before you buy.