原创 openjpa2.3.0在karaf3.0.0下的feature

   karaf3.0.0內置了openjpa 2.3.0的features,但這個feature安裝後,會報Bundle sys.impl is waiting for dependencies [(&(&(!(org.apache.a

原创 pax wicket下手工mount page

<?xml version="1.0" encoding="UTF-8"?> <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"> <!-- While mo

原创 OSGI下的SerializeUtil,解決ClassNotFoundException

原文參考http://stackoverflow.com/questions/13861342/how-do-you-deserialize-an-object-from-bytes-in-osgi package com.daren.c

原创 CouchDB filtered replication

One of the greatest features of CouchDB is its replication which allows for great distributed computin

原创 wicket 循環訪問子組件

@Override protected void onInitialize() { super.onInitialize(); visitChildren(new IVisitor<Componen

原创 osgi 內嵌 jar包

#----------------------------------------------------------------- # Use this file to add customized B

原创 自動運行war的plugin

<plugin> <groupId>org.mortbay.jetty</groupId> <artifactId>jetty-maven-plugin</artifactI

原创 get the base application URL?

Url relative = Url.parse(getRequest().getContextPath()); String full = getRequestCycle().getUrlRenderer().rende

原创 wicket forward a url

@override public onSubmit() { String url = "/s/koolkat.do"; //some url within the same web-context getReque

原创 pax wicket下的filter的實現

參考 https://github.com/ceefour/paxwicket-shiro ; 創建filter: package com.liming.core.web.bootup.wicket.filter; import

原创 pax wicket下的shiro集成

<?xml version="1.0" encoding="UTF-8"?> <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" xmlns:e

原创 jira修改日期格式

修改如下: jira.lf.date.time = HH:mm jira.lf.date.day = yyyy-MM-dd HH:mm jira.lf.date.complete = yyyy-MM-dd HH:mm jira.lf

原创 使用arquillian作爲osgi集成測試工具

arquillian是JBoss公司的集成測試工具,支持ejb,cloud,android等目標容器的測試,本文以http://books.sonatype.com/mcookbook/reference/osgi-sect-starti

原创 using-couchdb-with-java-and-domain

This is a simple application using CouchDB in a Java program. I'm using the LightCouch JAR downloaded

原创 karaf 3.0.0新特徵

Apache Karaf 3.0.0 is now mostly ready (I’m just polishing the documentation). In previous post, I introduced new ent