部落客廣告聯播

顯示具有 lomboz 標籤的文章。 顯示所有文章
顯示具有 lomboz 標籤的文章。 顯示所有文章

2007年7月24日 星期二

Resin Eclipse WTP 外掛 [Resin Eclipse WTP plugin]

雖然lomboz內建支援的Servlet Container眾多,但還是有遺珠之憾,如果工作上必要的container不在支援之列,便要尋找適合的plugin。
Resin便是其中之一。

網海遍尋許久,終於在Gunnar’s Weblog 找到了能和lomboz完美整合的外掛。
這是由Gunnar自己所寫的外掛,非常感激~~

關於介紹及安裝方法,可參照Gunnar的網頁,如果你用eclipse3.3可用eclipse的線上更新機制,至於線上更新的網址也在Gunnar的網頁中可找到。
而如果你的eclipse是3.2版(現在的最新穩定版本lomboz即是eclipse3.2),在Gunnar的網頁上The old version is still available here下載到。

由於我所使用為resin3.10 pro版,有些內附lib的jar檔案和plugin jar內的resin.serverdef不同故做了小小的修正:
在此提供連結分享給各位。
如果對各位有幫助的話,請不用謝我,麻煩請寫信謝Gunnar。(他應該只看的懂英文)

-------------------------------------------------------------------------------------------
Although there are many servlet containers be supported in lomboz, but some were not.
If the container which you will work with ,you'll need to find a plug-in.
Resin is one of them.

By searching over the net, I found a good plugin on Gunnar’s Weblog at last.
This plug-in was wrote by Gunnar himself. Thanks to him.

The introduction and installation guide about this plug-in could be found on the same Gunnar’s Weblog page.
If you are using Eclipse 3.3, you could install plugin inside eclipse through Gunnar's update site.
And if you are using Eclipse3.2(like the lomboz 3.2.2), you should the old version of plug-in. It can found on the same page.

Because I'm using resin 3.10 pro,some jar files in resin's lib directory is not the same with resin.serverdef in plugin's jar file.
So, I made a little modification to it.
If you are using the same version of resin with me, you could download the plug-in here.

If this article give helps to you , Please say thanks to Gunnar through e-mail.

2007年6月13日 星期三

讓lomboz及eclipse支援Tomcat 6 (Using Tomcat 6 in lomboz)

現在的lomboz最新是3.2.2版的,很遺憾不支援Tomcat 6。

不過若還是要用Tomcat 6的話,可以裝Sysdeo的tomcat plugin ,只不過裝好後要把原有的專案轉進新建的TOMCAT PROJECT類型專案,還有再JSP除錯只能到servlet層級,也就是說除錯是要在jsp編出來的servlet來點選中斷點,這是比較大的差別。

================================================================
The latest version of lomboz is version 3.2.2 , and by default don't support tomcat 6.

But if you wish to use tomcat 6 in your lomboz IDE , you can install Sysdeo tomcat plugin .
But the major difference is you can just debug your JSP in servlet level, that means you should select the break point in the java file which was compiled from its JSP file. And the other major difference should noticed is you should create a new Tomcat Project and import your original web application into it, it's all....

2007年4月29日 星期日

在lomboz中使用Sun ApplicationServer ( Intergrate sun ApplicationServer on lomboz)

在lomboz中使用Sun ApplicationServer
( Intergrate sun ApplicationServer on lomboz)


雖剛踏入社會沒幾年,一直專潛於JAVA Web application領域,也有了相關證照,但是若以此便能自滿,不免覺得自己小格局。心血來潮,想開始學習EJB,進而讓自己能夠擴大在J2EE領域的知識。不管是哪本書,談到實作練習階段,總是要安裝上J2EE SDK。上了SUN的網站下載了最新的JAVA EE 5 SDK(5?不會算數嗎?2的下一個數字竟然是5?可能比較好聽吧?算了,爽就好),也安裝上了,但是在開啟lomboz,想將JAVA EE 5 SDK內附的SUN Application Server新增到lomboz的server中,以方便開發時的部署及除錯,但是,咦?有沒有看錯,新增server列表裡竟然沒有Sun Application Server可選擇。
拜拜古狗大神,沒想到神也不是萬能的,找沒有?? 僅看到也有人問相同的問題-- 為何沒有sun application server的server definition?不信邪,上SUN網站找找好了。

working on Java web application for years, and retrieved related certifications.But I'm not satisfied. And that's why I began to learn EJB, to extend the knowledge about the J2EE domain.No Mater which one book, when on practicing , it's the first to instal the Java EE SDK. Go to the SUN's Java website,and download the latest Java EE 5 SDK(It's strange from 2 to 5. But Who cares!!). And Next when I want to add the SUN Application Server which is included in Java EE 5 SDK to the server list in Lomboz, I can't found the Sun AP server item in the add new server window.
Go searching the net using Google, It's nothing about this. Just someone like me have the same Question. Never Give up, keep on finding the answer on SUN's website.


嘿嘿,一個不小心找到了些蛛絲馬跡。
在Java EE 5 SDK Feature Summary頁面裡提到:Integrated with Sun's NetBeans open source IDE and supports an Eclipse plug-in...,繼續往下看果然在 Eclipse IDE plug-in有外掛可以下載。太高興了。
馬上給他載回來,安裝後,再次新增sever,列表中果然多了SUN Microsystems。

Hay, there is some clue about it. in the '
Java EE 5 SDK Feature Summary' page: Integrated with Sun's NetBeans open source IDE and supports an Eclipse plug-in...,reading award I found the Eclipse IDE plug-in for download the eclipse plugin.
After installing , and restart lomboz, the SUN Microsystem item appeared in the add new server window.

不過納悶的是,列表裡面沒有JAVA EE 5 SDK附的SUN Application Server 9 PE。其實,由於SUN Application Server 9 PE就是由開源的GlassFish專案而來的穩定版本,所以說不用擔心,選GlassFish V1 Java EE 5就對了。

But,we can't see the SUN application server 9 PE item under it. Just take easy,because the SUN Application Server is based on the stable version of GlassFish project,we can select 'GlassFish V1 Java EE 5' item here.

接下來的畫面,要注意的是admin password欄位,此密碼為SUN AP server管理介面的登入密碼,當初安裝JAVA EE 5 SDK時所設定的。

The next setp, notice the admin password field, the password is used to login the management interface of AP server. And the password is set by whom installed the Java EE SDK.

完成後,按下Finish就可以發現Server中多了GlassFish Java EE 5,按下start server,開啟網址: http://127.0.0.1:4848/
開啟管理介面,輸入帳號密碼後登入若看到管理畫面就代表安裝成功了,然後就可以很幸福的用lomboz和SUN AP Server開發EJB了。


After All,click finish button,you 'll find there is a GlassFish Java EE5 item in your server list in lomboz. Now,start the server,and browse
http://127.0.0.1:4848/. It will open the Management interface . If you login successfully, it operation normally.

Congratulations, you can starting using the lomboz and SUN AP server to develop your EJB .


2007年1月15日 星期一

用Eclipse開發WEB應用程式 [WebApp Develop on Eclipse]

Web App Develop on Eclipse
Lomboz是一個開源碼且免費的J2EE開發環境。使用Lomboz開發Servlet和JSP(當然EJB也可,雖然我沒試過) 可說是相當方便的。光是程式碼自動補齊提示(或許官方不是這樣稱呼這項功能,但實用才是重點,誰在乎啥名稱咧)和自動編譯就幫我省下了不少時間。

Lomboz is an open source and free J2EE development environment. Using Lomboz writing Servlets and JSPs (and EJB) is much more convenient. Just only the Code Auto Complete(Maybe this is not the official name,but who cares) and the auto compile functions save me a lot of time.多說無用,最好的方式是能實際體會囉。
以下是Lomboz的官方網站(ObjectLearn): http://www.objectlearn.com
使用過一陣子後,各位便會把Notepad丟入拉圾筒了。

還有別忘記Eclipse的官方網站: http://www.eclipse.org
記得把心得分享給大家喔....

It's no use to say to much. Just Experience the Lomboz by yourself.
And you'll drop your notepad to the trash can.
Lomboz official site: http://www.objectlearn.com/
Eclipse official site: http://www.eclipse.org/

Finally, Don't forget sharing what you learned to others.