简体   繁体   English

如何分发Java组件供开发人员使用?

[英]How to distribute java components for developers to use?

I am not sure how to put the correct title. 我不确定如何输入正确的标题。

but here is the brief explanation. 但这是简短的解释。

With Microsoft .NET, i created a server side custom control using C# to be used in ASP.NET pages. 使用Microsoft .NET,我使用C#创建了一个服务器端自定义控件,该控件将在ASP.NET页面中使用。 I distribute the DLL generated as a component. 我分发生成为组件的DLL。 developers will include that and use in their ASP.NET project. 开发人员将包括这些内容并在其ASP.NET项目中使用。

Likewise, how can i do for Java based web components for to use with JSP or JSF or any other java web frameworks? 同样,如何为基于Java的Web组件与JSP或JSF或任何其他Java Web框架一起使用?

This is normally done via jar files and in enterprise applications mostly in conjunction with the 'dependency resolution manager' maven 通常这是通过jar文件完成的,并且在企业应用程序中通常与“依赖关系解决方案管理器” maven结合使用

Note that there are other package formats like osgi bundle, nbm, ear or war but the atomic most common bundle is jar 请注意,还有其他软件包格式,例如osgi捆绑包,nbm,ear或war,但最常见的原子捆绑包是jar

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM