karaf 3.0.0新特征
来源:互联网 发布:淘宝保险 编辑:程序博客网 时间:2024/05/17 02:27
Apache Karaf 3.0.0 is now mostly ready (I’m just polishing the documentation).
In previous post, I introduced new enterprise features like JNDI, JDBC, JMS.
As I said, the purpose is to provide a full flexible enterprise ready container, easy to use and extend for the users.
Easy to use means that a simple command will extend your container, with feature that can help you a lot.
JPA
Previous Karaf version already provided a jpa
feature. However, this feature “only” installs the Aries JPA bundles, allowing to expose the EntityManager as an OSGi service. It doesn’t install any JPA engine. It means that, previously, the users had to install all bundles required to have a persistence engine.
As very popular persistence engines, Karaf 3.0.0 provides two ready-to-use features:
karaf@root()> feature:install openjpa
The openjpa
feature brings Apache OpenJPA in Apache Karaf.
karaf@root()> feature:install hibernate
The hibernate
feature brings Hibernate in Apache Karaf.
CDI
Karaf 3.0.0 now refers Pax CDI. It means that you can install pax-cdi* features in Apache Karaf.
However, Pax-CDI doesn’t install any CDI container, it’s up to the users to install all bundles required to have a CDI container.
As very popular CDI containers, Karaf 3.0.0 provides two ready-to-use features:
karaf@root()> feature:repo-add pax-cdi
karaf@root()> feature:install openwebbeans
The openwebbeans
feature brings Apache OpenWebBeans CDI container in Apache Karaf.
karaf@root()> feature:repo-add pax-cdi
karaf@root()> feature:install weld
The weld
feature brings JBoss Weld CDI container in Apache Karaf.
EJB
As a reminder, waiting to have KarafEE back in Karaf directly (as a ejb
feature, I plan to work on it next week), you can install Apache OpenEJB in Apache Karaf:
karaf@root()> feature:repo-add openejb
karaf@root()> feature:install openejb-core
karaf@root()> feature:install openejb-server
- karaf 3.0.0新特征
- C++0x 新特征
- [转]Smarty3.0 新特征
- apache-karaf-3.0.0发布features,出现"java.io.IOException: Error resolving artifact"异常解决
- Asp.Net2.0新特征概述
- Spring3.0新特征-Restful support MVC
- Servlet 2.3:新特征
- JDK 5.0 新特征
- JavaEE5的新特征
- Servlet 2.3:新特征- -
- JUnit4新特征
- PHP4的新特征
- flex4.5新特征
- JDK1.5新特征
- JDK1.6新特征
- 新特征-线程池
- IOS6新特征
- ios6 新特征
- ACM(039)水仙花数(0)
- 项目集成Maven后JUnit报ClassNotFoundException错误的分析及解决
- .获取MAC地址方法大全
- CArchive 类介绍和简单例子
- CMD下查看远程桌面端口
- karaf 3.0.0新特征
- Ubuntu下安装jdk1.7
- TSQL存储过程applock应用实例
- 2014年1月2日星期四(流水线-UVN系统的实现)
- 通过批处理文件调用java程序
- HTTP幂等性概念和应用
- ACM(040)公约数和公倍数(1)
- 一加手机来了~你知道一加手机吗?
- EXIF文件格式描述