Monday, January 23, 2006

Java Web Services Implementation using Oracle JDeveloper 10g

Finally I have finished my chapter 2 of my final project documentation. But it's subject to change due to revision from my lecturers. OK, that's not the main reason I post this blog :D

This day, I learned how to implement java web services using Oracle JDeveloper 10.1.2.1.0. Thanks to Arya Adriansyah :) I have successfully implement and publish it using OC4J. First of all, make a new Java class. Then, create a web service based on that class. Finally, publish the web services. Don't forget to install OC4J first (run "{ORACLE_HOME}\j2ee\home\java -jar oc4j.jar -install" from command prompt).

However, regarding the java web services implementation using Oracle JDeveloper 10g Release 3 and Eclipse 3.1.1 WTP, I haven't successfully published them. Maybe it's just a configuration matter, but I don't know. For now, I try to publish it using my own way. First of all, create the WSDL document using the IDE. Edit the WSDL document manually concerning the service location. It is located in "soap:address location" tag. Finally, copy the WSDL file to IIS virtual directory (C:\Inetpub\wwwroot\). I use IIS since I know how it works better than other servers. I know this is not the best way, but it works!

I have also successfully consumed the web services (all of them) using a .NET client. Well, I just pick the fastest way to make the client program. It works well for whether the client program runs on local machine or on remote machine.

Regarding the documentation on analysis, some ideas come from one of my lecturer, Mr. Dwiaji. There are two main focus of my analysis. First, about the project planning and monitoring theory and how it relates with the Unified process. Second, about how to collect data from many places. It will start from the history when everything is done manually until it can be done automatically using web services. I also have to analyze where the web services should resides, whether in server side, client side, or both.

If you have any questions or may be corrections, please contact me :)

Monday, January 16, 2006

Java Web Services Implementation using Eclipse 3.1.1 WTP

Finally, I have succesfully implement Java Web Services using Eclipse 3.1.1 WTP. The tools can be downloaded from here.The one I used is WTP 1.0. My suggestion is download the "all in one" package. It includes the Eclipse SDK as well. About the tutorial, you can see them on this link. Just follow the instructions and you can make your own java web services. For your information, the WTP needs Apache Tomcat installed on your machine. I use Apache Tomcat 5.5.9 which can be downloaded here.

I have also succesfully consume the web services using a .NET program. Now, the main problem is it's a little bit weird that I have to turn on the Apache Tomcat from Eclipse IDE to enable the web services. Probably, it's just a matter of virtual directory settings, I haven't try to fix this problem. If you have any idea, don't be hesitate to contact me.

OK, during the rest of this week, I'll try to finish the chapter 2 of my final project document. If it is possible I'll try the java web services implementation using different IDEs or may be using no IDE at all :D I'll post the result about it.

Friday, January 13, 2006

Web Services Implementation

Well, today I tried the web services implementation in Java. I used both Eclipse 3.1.1 and Oracle jDeveloper 10g Release 3. And guess what.. Until I write this posting, I haven't succeed to implement the Java Web Services in both IDE. It's not as easy as I thought.. Doesn't really matter, it's quite challenging :D

Considering web services implementation in .NET, I have no difficulties at all. It only took less than 5 minutes. I tried to implement it using both Visual Studio .NET 2003 and Visual Studio 2005 Express Edition. Well, I have to agree that .NET is about productivity :) On the other hand, we don't learn much when using .NET. Many things are 'hidden' from developers.

I guess I will spend this week end trying to implement the Java Web Services by using either Eclipse or Oracle jDev.

When I have succeed the implementation, I'll write my experience about it.

Wednesday, January 11, 2006

First Blog

This is my first blog. I'll try to write it down in English, should there any mistake in grammar etc, please forgive me. I'm still learning :)

The main reason I create this blog is to track down my progress during my final project here in Informatics Department Bandung Institute of Technology. The title of my final project is "Implementasi Web Services pada Perangkat Lunak Pengawasan Proyek Bermetodologi Unified Process" or in English "Web Services Implementation in Project Monitoring Software Using Unified Process" (subject to change). So, there are at least two main focus in my final project: web services and unified process. Regarding the implementation of web services, I'll try to combine Java Web Services and .NET Web Services. The combination itself is not limited to web services only. It is possible to have .NET client which consume Java Web Services or vice versa.

Should you have any comments, suggestions, or may be questions, especially in those three areas (Java Web Services, .NET Web Services, and Unified Process), you can contact me via email at de_senta@yahoo.com

Today, I join the Java User Group - Indonesia and NetIndonesia. For the Unified Process, I haven't found any group lately. May be you know some. If it is so, please let me know. Hopefully, I can get a lot of information from those groups. If it is possible, I'll try to contribute in those groups as well.

OK, that's it for today.