PDA

View Full Version : Using the toolkit w/ VJ++



Guest.Visitor
01-22-2002, 01:20 PM
Cliff, I skipped your message the first time wondering why J++. You can specify a profile on your connection, if you don't it will prompt for it. Hopefully you are running it on the same computer in that case or you will have to run to the other computer to signon. There are ways to cache signons that are described in the JavaDoc. You can qualify your tables etc with a library name, specify a library list on the connection string, or in a property file. I have had problems with the second option; it seems to get stuck on a single collection. Probably just missed a setting in my code to set nameing to sys or something. I had the library names in my case so I qualified the library in my prepared statement. David Morris

Guest.Visitor
01-23-2002, 09:07 AM
There is a rather lengthy explination as to why J++ and I would eat up half the DASD trying to list it entirely. The short version is we have an existing ASP application that uses this rather silly design based on J++ and JWalk and this is the only way I could immediately see a solution to an existing dillemma. There are probably plenty of ways to attack this project but my vision is to extend existing RPG apps by building this Java gateway to the rest of the organization here. I've had this vision for quite some time and I've finally been given the "go-ahead" to implement some of my ideas. Hopefully we can look into a some Java development using the latest JDK and maybe some of the Java/Com bridge stuff that Halycon's developing. Thanx for the info. I think I've got my problem somewhat tackled here. Cliff

Guest.Visitor
01-24-2002, 05:06 AM
Clifton, I have been following the Halcyon efforts since the summer of last year. In particular we are very interested in their attempt to produce a full .net implementation in Java that would run on UNIX and OS/400. Please share your experiences here as you begin to use the Halycon products. I for one would love to hear how it works out for you. Alex "Clifton C Craig" <Clifton_C_Craig@mcpressonline.com> wrote in message news:3d9aaa30.1@WebX.WawyahGHajS... > There is a rather lengthy explination as to why J++ and I would eat up half the DASD trying to list it entirely. The short version is we have an existing ASP application that uses this rather silly design based on J++ and JWalk and this is the only way I could immediately see a solution to an existing dillemma. There are probably plenty of ways to attack this project but my vision is to extend existing RPG apps by building this Java gateway to the rest of the organization here. I've had this vision for quite some time and I've finally been given the "go-ahead" to implement some of my ideas. Hopefully we can look into a some Java development using the latest JDK and maybe some of the Java/Com bridge stuff that Halycon's developing. Thanx for the info. I think I've got my problem somewhat tackled here. > > Cliff

Guest.Visitor
01-28-2002, 07:24 AM
I am using the toolkit with J++. I haven't toyed with the toolkit for some time so I'm a little rusty. What I need to know is how is the connection made to the AS400 when you instantiate the AS400 object? Does it use the user profile you specify in the contructor or does it use some other? Which subsystem services the toolkit connections? How do I set the library list for a toolkit connection? All insight is greatly appreciated! Cliff

Guest.Visitor
01-28-2002, 07:24 AM
Alex, It will probably be some time before we see anything of that nature here. I only brought it up as a possiblity if/when our current ASP applications graduate to .Net. I also read an article on J#. (Very interesting indeed!) Apparently this product has the ability to convert Java source and/or byte code to MSIL(the Microsoft version of byte-code). There attempts were to provide a development environment for the "marooned Java developers" as the article stated it. The only problem with this approach is that it does not support Java development using features found in JDK releases beyond version 1.1.4. If we (my new web team) ever gets there I would probably favor the Halcyon packages but who knows. There are most likely holes in both approaches. I will keep this community updated if we get this far. I don't know if it's just me but it seems like the main problems these days revolve around the growing gap between the Microsoft platforms and the other platforms. There just doesn't seem to be one best solution for connecting windows apps to other platforms. If you go with Java you have to either leave the COM/.Net worlds or develop using outdated Java technologies. If you go with ADO/OLE DB then there doesn't seem to be enough support and/or experts available. Does anyone else care to elaborate a little on this topic? Cliff