tags:

views:

48

answers:

1

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. I distribute the DLL generated as a component. developers will include that and use in their ASP.NET project.

Likewise, how can i do for Java based web components for to use with JSP or JSF or any other java web frameworks?

+4  A: 

This is normally done via jar files and in enterprise applications mostly in conjunction with the 'dependency resolution manager' maven

Note that there are other package formats like osgi bundle, nbm, ear or war but the atomic most common bundle is jar

Karussell
I'd say maven isn't neccesarily the simplest method of distributing jar-files...
KarlP
I didn't say that this is the simplest method but it is the most common in enterprise. And I only added this to the answer for further information. I think jar-file is already the answer.Not that there are a lot more build tools for java, if you are interested take a look at this picture I made some time ago: http://karussell.wordpress.com/2009/09/29/evolution-of-build-systems/
Karussell