/phoenix

A powerful custmized container for java application server (eg. jboss, jetty, tomcat)

Primary LanguageJava

Phoenix

Phoenix is:

  • A powerful customized J2EE web container (JBoss, Jetty, Tomcat)
  • The cutting-edge rollout tools for kernel Java libraries in Dianping.com
  • And more ...

It's originated from a Dianping hackathon product (Egret), and fully re-designed by Frankie Wu, marsqing Ma, Bin Miao, Figo Yang and Jian Liu.

Get Started

Prerequisite:

  • JDK 1.6.0 or above
  • Maven 3.0.3 or above
  • Tomcat 6 or JBoss 4

Installation:

git clone git@github.com:dianping/phoenix.git

cd phoenix/phoenix-samples/
mvn install
cd ..

Run with Tomcat:

export TOMCAT_HOME={TOMCAT_HOME}
misc/integration_test.sh -g com.dianping.platform -a sample-app1 -v 0.1-SNAPSHOT -c tomcat

Run with JBoss:

export JBOSS_HOME={JBOSS_HOME}
misc/integration_test.sh -g com.dianping.platform -a sample-app1 -v 0.1-SNAPSHOT -c jboss

Check:

open http://localhost:8080
open http://localhost:8080/inspect/home

Attentions:

  • Using DianPing private maven repository (192.168.8.45)
  • Currently only tested under Mac OSX 10.8

Author

Copyright and license

Copyright 2013 DianPing, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this work except in compliance with the License. You may obtain a copy of the License in the LICENSE file, or at:

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.