FtpServer server = new FtpServer();

// set the port of the default listener
server.getListener("default").setPort(2221);

server.start();

This is all the example code for embeded using.
I think it is the embeding functionality that I pick up this
component. So I think more examples for embeded using will catch more
attention, such as using it into Tomcat, building a downloading
component for other web based applications.
Don't you think so?
I don't think only the docs for interfaces and classes will be enough.
If only these is enough ,why the in-action series book will be so
popular?
Not all the other developers can understand the component only through javadoc



2008/10/2 Niklas Gustavsson <[EMAIL PROTECTED]>

> On Thu, Oct 2, 2008 at 4:01 PM, Erix Yao <[EMAIL PROTECTED]> wrote:
> > Seems like this is a server side component which can be embeded into web
> > aplications.
> > This is as far as I know.
> > By the way ,where can I find more examples for embeded using ?
>
> I don't think there are anyone published examples, however there is
> documentation that covers all available interfaces and classes in the
> public API.
>
> > The example code is too simple.
>
> Great to hear that it is simple ;-) Do you have any specific requirements?
>
> /niklas
>

Reply via email to