Thursday 26 June 2008

Spring , Hibernate Sample

This is Spring 2.0 + Hibernate3 sample source.

It is working with mysql + Eclipse

Simple BBS sample source.

add > view list > delete , update

sql file is in sql folder to create table

download sample source

Monday 23 June 2008

Eclipse - Save UTF-8 character

Error message from Eclipse when you try to save the file
========================================================================
save could not be completed.
Reason:
some characters cannot be mapped using "ISO-8859-1" character encoding.
Either change the encoding or remove the characters which are not supported
by the "ISO-8859-1" character encoding.
==========================================================================

Please go to "Windows > Preferences > General > Content Types > Text > JSP or ...

JSP > Default encoding > UTF-8 and click update button

Monday 9 June 2008

Maven error -Proxy setting

Error message from Maven
=======
Build Error

The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exist or no
valid version could be found
=======

You should check the proxy server setting.
so Please check it from web browser
From Browser
Tools > Internet option > Connections > setting Lan > copy proxy setting file address
(maybe "http://:8088/samxxxxcs.pac")
paste "http://:8088/samxxxxcs.pac" address into web browser URL

and download pac script file
open it

the end of that script file you will see
Return "PROXY 168.XXX.XX.XXX:8080"
Copy address and port number

open settings.xml from maven install folder > conf > settings.xml
change
==============================

[localRepository]C:\java\maven\.m2\repository[/localRepository]

==================================
[proxy]
[id]optional[/id]
[active]true[/active]
[protocol]http[/protocol]
[host]168.219.61.250[/host]
[port]8080[/port]
[nonProxyHosts]local.net,some.host.com[/nonProxyHosts]
[/proxy]

setting.xml

Wednesday 4 June 2008

Error to generate Web Service from eclipse , Axis2

When you have some problem for generating Web Service from Eclipse with Axis2,
you should check set up of eclipse for Axis2.

From Eclipse
Window > Preference > Web Services > Axix2 Preferences > Axis2 Runtime
setup "Axis2 Runtime Location" from "Browse" button : setup Axis2 folder
then you will see the message on the bottom "Axis2 runtime loaded successfully!!!"

Click ok and process generating Web service again.

Monday 2 June 2008

Web Services Reference List Site

http://openframework.or.kr/JSPWiki/Wiki.jsp?page=WebServices