Steve Mutanson

Ranch Hand
+ Follow
since Apr 15, 2003
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Steve Mutanson

one more question ---

I know Oracle 10g JDeveloper comes with the oc4j server. If I have installed another applicationweblogic on windows and create a EJB or WAR using jdeveloper, can I use weblogic instead of oc4j ? The reason why I ask this is I am afraid that jdeveloper is too much closely tight with oc4j...
17 years ago
A follow-up question --- If swing can display html table, how to print it out ?
17 years ago
Come on guys, my question was -- If I don't have http connection and only have a swing application, can I use it to invoke a web service remotely located on another server and get response back in the format of xml ?

Please don't ask me "why do you want to use swing if you can have a http client ?". In the book "Developing java web service", it seems it gives an example that a standalone java application calls a web service and get xml back. But since I am new to web service, I want to make sure my thought is correct.

please directly answer my question if you can. Thanks.
17 years ago
Thanks for the response, folks. Another thing I want to clarify is ---
If I have an IDE and weblogic on windows, I create a EAR and test it on weblogic on windows. Then I try to deploy it to unix that has a different application server, like Oracle AS. Did you guys feel there are lot of problems in this case (when application servers are different) ?
New to web service and like it. have some simple questions ---

1. can the web service be a simple swing application (no http or internet acces) ?

2. if yes to 1), then can this application still invoke a web service located on a remote server ?

3. if yes to 1) and 2), then can the swing application receive the entire xml as response (even there is internet access from client side) ?
17 years ago
I am new to swing. Here is what I try to do ---

I create a frame containing some panels. User inputs some parameters in some fields, then click "Get Results in Table" button. I want it pops up another frame or panel or whatever. In this new Panel it will includes a HTML type table containing the calculation results based on user's previous parameter inputs. Can swing do this ? any specific component I should use ? Please be aware I want a HTML format table.

thanks
17 years ago
I have been using Unix lot. Our production environment is weblogic on solaris. I am used to using vi, emacs, pico, etc. Now I find many fancy IDEs. I installed some on windows but I have problem in migrating EJB and web service application from windows to unix ---

1. if your test production is weblogic on unix, how to test a EJB application developed on windows IDE ? you don't know if it works until the code is moved to unix application server. So why create codes in windows first ?

2. different app. server has a lot of difference. This will affect your setting and code features for any web service, EJB. So if you try to develop something using windows IDE without being able to use the application server installed on unix, how do you create a "ready-to-use" EAR, WAR, or web service for me to migrate to my unix ?

3. I want to know -- if you are a unix guy, do you use any windows IDE to do your development assuming your codes are not simple stand-alone kind applications ? and do you like any of them ?
I know oc4j comes with jDeveloper. I have following questions ---

1. is oc4j a web container or application server ?
2. does oc4j support EJB and web service ?
3. if I develope some web application and test it on oc4j on windows 2000, how do I deploy this application to another application server like weblogic on UNIX ? Does the difference between weblogic and oc4j require me to make lot of changes on my code ? or can I just deploy the entire EAR or WAR without change ? What kind of change is essential ?
17 years ago
I am a unix guy. These days I learn to use some IDEs on windows. I like some convenient features of them but I am frustrated by the migration problems. Here are some questions ---

First of all, my production environment is set on UNIX, so I use windows IDE to create and test codes, then migrate to unix. That's my goal. Now,

1. For simple java codes, there is no problem to miagrate the .class , .jar files, write once, run anywhere.

2. For web application(servlet/jsp) using jdbc, there are some problems. For instance, you need a web container to test your code, for some IDE, it doesn't have web container, so how do you test them ? you can't even compile them unless you install some external .jar for servlet compiling, even you can compile your codes in IDE, you can't test. You can only create some ".war" that you have no idea if it works, and move to unix to test. If fails, go back to windows to modify and move back to unix for re-test. This doesn't make sense to use the IDE...

3. If my production is on unix and it has its own appliction server, when you want to test some EJB, JDBC on windows IDE, how can you utilize my unix machine's application server ? Some IDE is shipped with its own web container or application server for testing. But the feature and setting requirement for such embedded container are quite different from the actual appliction server on unix, so if you want to migrate your EJB codes to unix, you need to make LOT of change, it is not like moving EAR...

4. If the application requires using some external file on a file system, then how can you migrate a code generated on windows, it doesn't know your unix file system structure that you need to use. So this requires code change if you migrate.

Based on the above problems, I am wondering how unix guys can take advantage of windows IDE if the application involves application server, database link, external file dependency. Please share your experience.

Do you think it is worthwhile to use windows IDE if your production is a J2EE application server on unix ?
I have a lady friend and I know she has a daughter. Last month before Christmas I bought a doll bear and wanted to give it to her daughter, however since I didn't know her daughter's name and wanted to give her a surprise, I put her name in the "To" section. When I presented it to her I told her I bought this for her daughter.
But it seemed she felt uncomfortable with it. Later on I thought -- Could it because I didn't put her daughter's name there and it made her feel I was trying to approch and please her ? But I can't ask her this question. So, if you were the lady, would you misinterpret it ?
BTW, I really meant to send it to her daughter. Otherwise I would just frankly express myself.
17 years ago
If I have a batch file doing the following thing ---
************
java MyApp arg_1
java MyApp arg_2
...
...
java MyApp arg_99
java MyApp arg_100
*************
I found the speed was fast in the beginning but it significantly slows down when it reaches "java MyApp arg_80". SInce each "java MyApp. . .." invokes a new JVM, I suspect that when the batch file reaches "java MyApp arg_80" some previously created JVM have NOT been really cleaned up in the memory yet, i.e. some of the previously created JVM are still occupying the memory space so the memory is gradually occupied fully, and this causes the slowing down of the newly created JVM.
Does this make sense ? I am not sure. Theoretically when a "java MyApp arg_n" is done, the OS should free the memory it occupies, right ? So, does what I said in last paragraph make sense ?
Thanks,
steve
18 years ago
If I have a batch file doing the following thing ---
************
java MyApp arg_1
java MyApp arg_2
...
...
java MyApp arg_99
java MyApp arg_100
*************
I found the speed was fast in the beginning but it significantly slows down when it reaches "java MyApp arg_80". SInce each "java MyApp. . .." invokes a new JVM, I suspect that when the batch file reaches "java MyApp arg_80" some previously created JVM have NOT been really cleaned up in the memory yet, i.e. some of the previously created JVM are still occupying the memory space so the memory is gradually occupied fully, and this causes the slowing down of the newly created JVM.
Does this make sense ? I am not sure. Theoretically when a "java MyApp arg_n" is done, the OS should free the memory it occupies, right ? So, does what I said in last paragraph make sense ?
Thanks,
steve
18 years ago
Ladies and gentlemen, thank you for your feedback. Actually the only motivation was just good friendship, of course, a friendship between a man and a lady, but not really romantic. We don't intend to cross the line...
18 years ago
Can somebody recommend some good Ant books ?
18 years ago
Then, how about chololate or candy ? How will they interpret that ?
thanks.
18 years ago