You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by "Pier P. Fumagalli" <pi...@betaversion.org> on 2000/11/30 17:59:13 UTC
Re: cvs commit:
jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connector/warp
[...]
pier@locus.apache.org <pi...@locus.apache.org> wrote:
>
> Added: catalina/src/share/org/apache/catalina/connector/warp
> WarpConnection.java
> WarpConnectionHandler.java
> WarpConstants.java
> WarpDebug.java
> WarpHandler.java
> WarpHandlerTable.java
> WarpPacket.java
> WarpReader.java
Ok, in an "impetus" of passion yesterday evening I rewrote the protocol...
Now, what does that mean? It means that now the protocol supports
multiplexing; take a look at the AJPv20 and v21 specs... v20 was designed
with multiplexing in mind, but it was dropped in v21 because it was too
difficult to implement. Well, it's not (Nice when after two years I prove
myself wrong :)
Checked in there are all the "basic" classes and C sources, those dealing w/
packets, multiplexing, data transfer, blablabla... (Check out the
WarpHandler since it's a HELL of synchronization, please... It runs with
approximately loads of 1000 packets received and sent at the same time, but
more eyes, less bugs).
Now I'm integrating those in Catalina...
Pier (who is starting to feel almost like a vampire!)
--
Pier P. Fumagalli Apache Software Foundation <ma...@betaversion.org>
----------------------------------------------------------------------------
Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur,
adipisci velit... (Cicero: "De Finibus" 1.10.32)
Re: Mod_warp
Posted by "Pier P. Fumagalli" <pi...@betaversion.org>.
cmanolache@yahoo.com <cm...@yahoo.com> wrote:
>
> Hi Pier,
>
> I know we discussed that, but I want to make sure everything is ok -
> I would like to implement the java side of "warp" in tomcat3.3, and
> reuse the C side from 4.0.
>
> Would it be ok to make a symbolic link, so the native code is in sync ?
> It's the simplest way to do that ( and I tested it - works fine ).
>
> I will not make any change ( without asking you first :-), but I want the
> C sources to be available in the 3.3 workspace.
>
> ( it'll be linked to jakartat-tomcat/src/native/mod_warp )
It's called mod_webapp, and it's not only for apache, but it's structured to
be flexible and allow other web servers to be used (with a stupid wrapper).
WARP is just a plug-in into the webapp library :)
Anyway, go ahead, and make the link :)
Pier
--
Pier P. Fumagalli Apache Software Foundation <ma...@betaversion.org>
----------------------------------------------------------------------------
Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur,
adipisci velit... (Cicero: "De Finibus" 1.10.32)
custom tag life cycle question - are custom tags expensive?
Posted by Dave Harms <jd...@clarionmag.com>.
I posted this in tomcat-user and didn't get any bites, so I'm trying
here.
I notice that section 5.4.7 of the JSP 1.1 spec states that "at
execution time the implementation of a JSP will use an available Tag
instance with the appropriate prefix and name that is not being used,
initialize it, and then follow the protocol described below.
Afterwards, it will release the instance and make it available for
further use."
When I look at my generated JSP code I see new instances of my custom
tags created on each call to _jspService. This seems to be in
contravention of the spec which implies a tag instance pool. It would
also suggest that some care needs to be taken to make custom tags as
lightweight as possible in the current implementation.
Thoughts?
Dave
Dave Harms
jdev@clarionmag.com
Mod_warp
Posted by cm...@yahoo.com.
Hi Pier,
I know we discussed that, but I want to make sure everything is ok -
I would like to implement the java side of "warp" in tomcat3.3, and
reuse the C side from 4.0.
Would it be ok to make a symbolic link, so the native code is in sync ?
It's the simplest way to do that ( and I tested it - works fine ).
I will not make any change ( without asking you first :-), but I want the
C sources to be available in the 3.3 workspace.
( it'll be linked to jakartat-tomcat/src/native/mod_warp )
Costin
On Thu, 30 Nov 2000, Pier P. Fumagalli wrote:
> pier@locus.apache.org <pi...@locus.apache.org> wrote:
> >
> > Added: catalina/src/share/org/apache/catalina/connector/warp
> > WarpConnection.java
> > WarpConnectionHandler.java
> > WarpConstants.java
> > WarpDebug.java
> > WarpHandler.java
> > WarpHandlerTable.java
> > WarpPacket.java
> > WarpReader.java
>
> Ok, in an "impetus" of passion yesterday evening I rewrote the protocol...
> Now, what does that mean? It means that now the protocol supports
> multiplexing; take a look at the AJPv20 and v21 specs... v20 was designed
> with multiplexing in mind, but it was dropped in v21 because it was too
> difficult to implement. Well, it's not (Nice when after two years I prove
> myself wrong :)
> Checked in there are all the "basic" classes and C sources, those dealing w/
> packets, multiplexing, data transfer, blablabla... (Check out the
> WarpHandler since it's a HELL of synchronization, please... It runs with
> approximately loads of 1000 packets received and sent at the same time, but
> more eyes, less bugs).
> Now I'm integrating those in Catalina...
>
> Pier (who is starting to feel almost like a vampire!)
>
>