Cargo 正在参加 2021 年度 OSC 中国开源项目评选,请投票支持!
Cargo 在 2021 年度 OSC 中国开源项目评选 中已获得 {{ projectVoteCount }} 票,请投票支持!
2021 年度 OSC 中国开源项目评选 正在火热进行中,快来投票支持你喜欢的开源项目!
2021 年度 OSC 中国开源项目评选 >>> 中场回顾
Cargo 获得 2021 年度 OSC 中国开源项目评选「最佳人气项目」 !
授权协议 未知
开发语言 Java
操作系统 跨平台
软件类型 开源软件
开源组织
地区 不详
投 递 者 不详
适用人群 未知
收录时间 2009-01-06

软件简介

Cargo是一个J2EE 容器的轻量级封装,提供操作容器的API

Cargo 提供的API 有:

  • 用于启动和停止以及发布新应用到容器的 Java API,同时提供有 ANT、Maven、Intellij IDEA 和 Netbeans 的插件;
  • 用于解析、创建和合并应用的 Java API

Cargo 的使用例子:

Deployable war = new WAR("path/to/simple.war");

LocalConfiguration configuration =
new Resin3xStandaloneLocalConfiguration("target/myresin3x");
configuration.addDeployable(war);

InstalledLocalContainer container =
new Resin3xInstalledLocalContainer(configuration);
container.setHome("c:/apps/resin-3.0.18");

container.start();
// Here you are assured the container is started.

container.stop();
// Here you are assured the container is stopped.
展开阅读全文

评论

点击引领话题📣 发布并加入讨论🔥
暂无内容
发表了博客
{{o.pubDate | formatDate}}

{{formatAllHtml(o.title)}}

{{parseInt(o.replyCount) | bigNumberTransform}}
{{parseInt(o.viewCount) | bigNumberTransform}}
没有更多内容
暂无内容
发表了问答
{{o.pubDate | formatDate}}

{{formatAllHtml(o.title)}}

{{parseInt(o.replyCount) | bigNumberTransform}}
{{parseInt(o.viewCount) | bigNumberTransform}}
没有更多内容
暂无内容
暂无内容
0 评论
8 收藏
分享
OSCHINA
登录后可查看更多优质内容
返回顶部
顶部