I am using jt400.jar (for connecting to AS400 machine) for the first time.Currently, I don't have access to AS400 machine. So I need to know whether their are any simulators available for AS400, which I can install on my machine and learn to work with jt400.jar.
Another thing can I connect to Windows 2003 server thru this jar ? . Our DB2 is installed on that machine.
I would be very happy to say that yes, there is an as/400 emulator you can connect to, but, unfortunately, it is not the case. There have been some attempts to emulate the as/400, but rather to run legacy RPG or COBOL code.
My advice would be to get access to a public as/400 on the Internet. I connect to timeshare400.com, which charges a reasonable fee of about 20 dollars per month... I find that very reasonable, considering that the smallest as/400 costs around $10K dollars.
Regarding to your second question, no, it is not possible to use a Windows machine with DB2 to use jt400.jar. That library was developed to connect to the as/400 and its resources, including DB2. It was not developed as a way to connect to DB2 servers in general.