自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(54)
  • 收藏
  • 关注

原创 Unsupported major.minor version

To fix the actual problem you should try to either run the Java code with a newer version of Java JRE or specify the target parameter to the Java compiler to instruct the compiler to create code compa...

2016-08-06 08:28:58 143

原创 Jboss -- Manually deploy war

wildfly-8.x.x.Final/bin$ ./jboss-cli.sh --connect[standalone@localhost:9990 /] deploy xxx

2014-12-27 21:17:08 181

原创 Good strategy for converting jpa entities into restful resources

With a combination of JAX_RS 1.1 and Jackson/GSON you can expose JPA entities directly as REST resources, but you will run into a myriad of problems.DTOs i.e. projections onto the JPA entitie...

2014-12-05 19:31:12 148

原创 JBoss Forge

java 7 JDK forge 2.12.3http://forge.jboss.org/document/sample-forge-usage-tasks$ project-new --named example --topLevelPackage org.mycomp.myapp --type war --finalName myExample$ jpa-new-...

2014-12-02 20:29:44 218

原创 Wildfly 8.2 confict with Mojarra 2.2.1

  SEVERE [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-3) Critical error during deployment: : com.sun.faces.config.ConfigurationException: The tag named passThroughAttr...

2014-12-02 16:03:13 366

原创 Wildfly 8.2 configure data source

 wildfly-8.2.0.Final/bin$ ./jboss-clYou are disconnected at the moment. Type 'connect' to connect to the server or '[disconnected /] connect[standalone@localhost:9990 /] module add --name=or...

2014-12-02 12:50:00 160

原创 What is JAXB

 http://www.java2blog.com/2013/02/jaxb-tutorial.html

2014-11-21 21:48:15 111

原创 Postgresql searchpath

postgresql allow:jdbc:postgresql://localhost:5432/testingsdb?searchpath=yourschema

2014-10-26 20:27:28 221 1

原创 Persistence Unit and transaction-type

"The transaction-type attribute is used to specify whether the entity managers provided by the entity manager factory for the persistence unit must be JTA entity managers or resource-local entity ma...

2014-10-26 14:27:00 246

原创 Many to one for Nullable foreign keys

A unidirectional many-to-one association on a join table is common when the association is optional. For example: ...

2014-10-25 11:12:14 128

原创 configure postgresql datasource in EAP 6.3 / Wildfly 8

find JBoss / Wildfly application server./jboss-cli.shInstall module containing the JDBC Driver. Specify the module name and the location where the jdbc driver has been downloaded:module ad...

2014-10-25 01:09:54 122

原创 Intellij Rest Client Tool window

using the Tools | Test RESTful Web Service command. View | Tool Windows | REST Client - the tool window can be accessed

2014-10-18 21:46:36 155

原创 basic postgres sql

sudo apt-get install postgresql phppgadminsudo apt-get install pgadmin3sudo su - postgrescreateuser drupalShall the new role be a superuser? (y/n) ypsql -d postgres -U postgresalte...

2014-10-13 17:05:41 147

原创 DB2 10.5

ubutu 12.04sudo apt-get install lib32stdc++6sudo apt-get install libpam0g:i386sudo ln -s /lib/i386-linux-gnu/libpam.so.0 /lib/libpam.so.0http://ubuntuforums.org/archive/index.php/t-214...

2014-10-13 11:39:36 268

原创 Intellij maven

1)run following command for idea project mvn -U idea:idea2) /bin/idea64.vmoptions-Xms128m-Xmx8192m-XX:MaxPermSize=1024m3) addin this line in the maven config 4) copy commons-...

2014-10-09 11:15:57 122

原创 Intellij multi-catch statement is not supported in -source 1.6

error1

2014-10-08 17:12:01 239

原创 Microsoft Tools

1、 ProcessExplorer(分析文件加载、占用)2、 Procmon.exe(分析文件加载、注册信息)3、 Dbgview.exe(记录日志)4、 SPY++(查看窗口位置、层次关系)5、 SpyIt(获取窗口信息)6、Windbg http://www.windbg.org/...

2014-09-18 13:11:52 272

原创 Ubuntu with maven 3

http://www.discursive.com/blog/4636sudo apt-get install python-software-propertiessudo add-apt-repository "deb http://build.discursive.com/apt/ lucid main"sudo apt-get updatesudo apt-get ins...

2011-11-23 19:08:12 123

原创 forge alpha4

error when upgrade to forge alpha4Exception in thread "Thread-0" java.lang.NoClassDefFoundError: org/jboss/seam/forge/shell/plugins/Plugin at java.lang.ClassLoader.defineClass1(Native Method) ...

2011-06-11 15:16:10 114

原创 Maven java 1.6

org.apache.maven.plugins maven-compiler-plugin 1.6 1.6

2010-10-24 16:47:03 145

原创 Setup git on RHEL 5.4

rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-4.noarch.rpmyum install git

2010-10-23 19:13:47 94

原创 eclipse and tomcat startup ...

Tomcat did not startupIn the "Server locations" section, the correct option is "Use Tomcat installation".

2010-10-01 13:31:50 92

原创 Load .bash_prifile without logout

source ~/.bashrc

2010-09-30 18:07:37 132

原创 Apache Axis2 - Concept

endpoint -- the full URL is http://www.ttdev.com/SimpleServicenamespace -- just like a Java package, but it is not in a dot format like com.ttdev.foo; it is in the format of a URL.full name --...

2010-09-18 11:16:18 101

原创 Multiple JBoss instances on the same machine

http://manoharviswanathan.com/blog/tech/running-multiple-jboss-instances-on-the-same-machine/Running multiple JBoss instances on the same machineDid you ever had the requirement to run multipl...

2010-08-10 11:36:10 154

原创 IntelliJ seam tag

if IntelliJ seam tag can not resolve by intelliJxmlns:s="http://jboss.com/products/seam/taglib"which can add-in ...

2010-08-10 11:33:57 105

javamail

basic import org.apache.commons.mail.*;import java.net.URL;import java.net.MalformedURLException;public class ApacheSendMail { public static void main(String[] argv) throws EmailEx...

2010-04-01 20:33:30 95

原创 Seam Hibernate 延迟加载

1) Entity UnSerializable Annotation on property datatype byte[]2) Build add instumentonetoone table mapping may not working properlymanytoone table mapping may work.

2010-01-06 09:48:51 102

modalpanel reRender error

will make the reRender in modalpanel have problem,most likely is reRender than do action.

2009-11-10 10:32:13 114

原创 Linux Performance Monotor

When the system is running fast/normally you need to take a baseline. Look at [b]top[/b], see what your percentage system, user, idle and iowait is. These can be seen here:Cpu(s): 8.6% us, 0.3% ...

2009-09-19 17:37:47 115

原创 Eclipse tips (1)

Eclipse Tip: Sharing Java project settingsThe Eclipse 3.1 has a new feature. Now the Java project settings like Compiler and Code Style can be shared with the entire team using the version control...

2009-09-03 07:44:00 160

JBoss Tips (1)

Copy database driver to C:\usr\jboss\jboss-4.2.3.GA\server\default\liblike h2.

2009-09-02 21:37:23 99

Eclipse on linux

Eclipse gets past the splash screen but then an empty window appears./eclipse -vmargs -Dorg.eclipse.swt.browser.XULRunnerPath=/usr/eclipse/libs/xulrunner19http://wiki.eclipse.org/IRC_FAQ#C...

2009-08-31 21:04:25 105

原创 Seam Hash Password

http://shervinasgari.blogspot.com/2009/02/hash-user-password-in-seam-211-manually.htmlpublic String saveProcessUser() { // Check if a new password has been entered if (currentUser....

2009-08-31 16:35:07 127

原创 change default font size

Overwrite default fontsize .rich-panel-body {font-family: 'Calibri'; font-size:x-large }

2009-08-27 14:48:37 119

Seam Order by

1) setOrder("Calendar.datesStart asc");2) http://seamframework.org/Community/EntityQueryAndOrderingIssue

2009-08-11 09:51:44 95

原创 Seam and JBPM

Practical JBoss Seam ProjectsPage 159 to 1611) jBPM Supporting tasks implemented in variety of ways (web pages, business components, business rules, etc.), connected together with a structured w...

2009-08-04 11:48:02 134

原创 Seam's tips for Seam in Action (2)

Page 771) sort the enityHome List 1. Comparator 2. @OrderBy at the parent entity

2009-08-01 18:14:20 92

原创 Seam's tips for Seam in Action (1)

1) add entity by method-bindingpage 18#{tipAction.add(tip)} public void add(GolfTip tip) { entityManager.persist(tip); activeTip = tip; facesMessages.add( ...

2009-07-30 14:32:43 127

原创 Galileo and Maven

-startupplugins/org.eclipse.equinox.launcher_1.0.200.v20090520.jar--launcher.libraryplugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519-productorg.eclipse.epp.package.jee....

2009-07-14 12:19:44 124

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除