axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Jordahl" <tjord...@adobe.com>
Subject RE: Getting axis2 transport out from the kernel
Date Wed, 10 Oct 2007 21:39:03 GMT
> One jar containing the http transport (which can be
> included in the axis2 standard bin)
> And another jar containing the rest of the transports.


+1 to moving out the other transports (everything but HTTP) from axis2.jar to optional-transports.jar.
 I would break my 'too many jars are bad' rule for things like that.

-1 (disagreement, not formal veto) to removing the HTTP transport from axis2.jar.  It is configurable
in the XML, right?  Why can't Synapse just configure their axis to use their transport?  Why
would we want anyone to have org.apache.axis2.HTTPTransport configured that *wasn't* the actual
Axis2 HTTP transport, but something that was better/cooler/faster/had different bugs?  That
could get confusing real fast.

I may be way off base with exactly what the use case to replacing the 'standard' http transport
in Axis2 is, if so then forgive my denseness. :-) 

--
Tom Jordahl

________________________________________
From: Rajith Attapattu [mailto:rajith77@gmail.com] 
Sent: Tuesday, October 09, 2007 1:07 PM
To: axis-dev@ws.apache.org
Subject: Re: Getting axis2 transport out from the kernel

Tom has a point. TCP and SMTP seems to be used very rarely. Perhapse < 1%.
JMS seems to be more popular. 

But I still think we should to put transports in a separate module.
When we make the axis2 standard distribution can we not just simply make two jars out of the
transport module? 
One jar containing the http transport (which can be included in the axis2 standard bin)
And another jar containing the rest of the transports.
Is this possible with maven?

This way we can allow people to download the additional transports only if they want to. 
Synapse folks are happy bcos they can easily import only the axis2 kernal and bundle their
own HTTP transport.

Does this sound reasonable?

Regards,

Rajith Attapattu
Red Hat.
On 10/9/07, Tom Jordahl <tjordahl@adobe.com> wrote:
> Well the best thing, IMO, is to ship the current http transport
> with the release, by default and let users download others if
> they want to use.

+1 - The best thing for Axis2 is for the Axis users, not for Synapse. 
The fewer jar files the better as well.  The core of Axis2 should have
the 'standard' HTTP transport - anything else is just noise to 90+% of
users.

Keep your eyes on the target: making Axis2 easy to use for users. 

--
Tom Jordahl


-----Original Message-----
From: Eran Chinthaka [mailto:chinthaka@opensource.lk]
Sent: Monday, October 08, 2007 11:02 PM
To: axis-dev@ws.apache.org
Cc: synapse-dev@ws.apache.org
Subject: Re: Getting axis2 transport out from the kernel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 

Ok, I have couple of questions just to understand what the plan is.
Let's assume we separate out transports in to a module.

(begin

What will this module contain? Will it have all the transports, 
including http, smtp, tcp, etc., or will there be modules for each and
every transport?

What will be shipped with Axis2 release? All of them or none?
If it is none,
        do you expect people to download Axis2 release AND another 
transport
that he/she wants to use?
else will we release the transport we have now?
        if yes, then Synapse will again have the same problem.

What will be inside default axis2.xml?

Well the best thing, IMO, is to ship the current http transport with the 
release, by default and let users download others if they want to use.
The intuition is that most of the time the transport will be http and
will make the life easier for about 90% of the users.

Also I'd like to evaluate the impact of this on the HTTP binding 
implementation that we have now. I think that also will go out of
Kernel.

)
Just my 2 cents.

Thanks,
Chinthaka

Srinath Perera wrote:
>> Guys.. the confusion/problem/root cause is this.. the Synapse 
community
>> re-wrote the JMS transport initially, and checked this into the Axis2
>> Kernel module as other transports were in there at the time. Actually
>> this replaced the previous JMS transport Axis2 had. 
>>
>> Then we wrote a new non-blocking http/s transport, and kept this
within
>> Synapse. After some time there was a suggestion from Axis2 that we
>> should check this code into Axis2 instead to make it available to a 
>> wider audience for usage, testing and improving overall quality as
well.
>> Thus we checked this into Axis2 [Kernel :-(]
> +1 yes that is right way to go
>
>> Now the problem is this.. The JMS transport was implemented for JMS 
1.1,
>> and the ESB community encountered users who wanted to deploy
production
>> apps using JMS 1.0.2. We also had a few bug fixes going into the NIO
>> transport - where we couldn't wait for "the next axis2" release. We 
also
>> developed a Apache VFS based file/ftp/sftp/.. transport lately. We
would
>> like to give this code to all Axis2 users for sure, but not within
the
>> Axis2-kernel module - as it would create issues for us to make never 
>> versions of these same classes for our use.
>>
>> As you may be already aware, Synapse is very close to transports -
i.e.
>> we want the maximum out of them, and would encounter most users who 
>> would be looking for custom transports etc. We also do lots of load
>> testing for concurrency and NIO related issues.. and we want to stay
>> upto-date with the latest HttpCore release. Now since we committed 
our
>> initial transport code into Axis2-kernel, we are in a fix on making
safe
>> updates as and when required for Synapse releases.
>>
>> All we ask for is for Axis2 to create a module for transports and 
take
>> transports out from the kernel.
>
>
> OK you convinced me. I am +1 on creating module for transports.
> However as David pointed out we have to do it in Axis2 major release.
>
> One middle ground would be to create a transport module and first add
> additional transports while leaving what ever we have in kernel as it
> is for now. At a major release you can move other transports out as 
> well. (May be you can leave http transport in the core for testing
> reasons, but that we can decide later). That way we can ship
> additional transports with minor release without adding them to
> axis2.xml, and synapse can add them via custom axis2.xml.
>
> Thanks
> Srinath
>
>
>> asankha
>>
>>
>> --------------------------------------------------------------------- 
>> To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
>> For additional commands, e-mail: axis-dev-help@ws.apache.org 
>>
>>
>
>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org 

iD8DBQFHCu8ZjON2uBzUhh8RAmbkAJ9fom4XImV2+x+7iPmBrF+rzC+l/ACcCckk
Z3saNc4pBfUWn7OsV/pFzGo=
=wlxq
-----END PGP SIGNATURE-----

--------------------------------------------------------------------- 
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org 


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message