Picon

1.4 compliance

Hi,

scala.Console line 187 contains reference to PrintStream.printf that is
not present in java 1.4 .

 @deprecated def format(text: String, args: Any*) {
      if (text eq null) out.printf("null") else (out.print(text format
(args : _*)))
  }

Should I file the ticket?

--

-- 
Best Regards,
Vladimir Kirichenko

Eric Willigers | 2 Mar 00:40
Picon

Re: 1.4 compliance

Vladimir Kirichenko wrote:
> scala.Console line 187 contains reference to PrintStream.printf that is
> not present in java 1.4 .
> 
> Should I file the ticket?

Java 1.4 has reached End of Life and I believe it is no longer supported.

If only more mobiles ran 1.5

Ismael Juma | 2 Mar 00:42
Picon

Re: Re: 1.4 compliance

On Mon, 2009-03-02 at 10:40 +1100, Eric Willigers wrote:
> Vladimir Kirichenko wrote:
> > scala.Console line 187 contains reference to PrintStream.printf that is
> > not present in java 1.4 .
> > 
> > Should I file the ticket?
> 
> Java 1.4 has reached End of Life and I believe it is no longer supported.

This is not true. Only Scala 2.8.x will require Java 1.5. There's a
Scala 2.7.3 compiled for Java 1.4:

http://www.scala-lang.org/downloads/distrib/files/scala-2.7.3.final-jvm4.tgz

The link is shown here:

http://www.scala-lang.org/downloads

Best,
Ismael

Blair Zajac | 2 Mar 05:08
Gravatar

Re: Re: 1.4 compliance

Ismael Juma wrote:
> On Mon, 2009-03-02 at 10:40 +1100, Eric Willigers wrote:
>> Vladimir Kirichenko wrote:
>>> scala.Console line 187 contains reference to PrintStream.printf that is
>>> not present in java 1.4 .
>>>
>>> Should I file the ticket?
>> Java 1.4 has reached End of Life and I believe it is no longer supported.
> 
> This is not true. 

It is true that Java 1.4 has reached end of its service life:

http://java.sun.com/j2se/1.4.2/download.html

Regards,
Blair

--

-- 
Blair Zajac, Ph.D.
CTO, OrcaWare Technologies
<blair <at> orcaware.com>
Subversion training, consulting and support
http://www.orcaware.com/svn/

Ismael Juma | 2 Mar 06:23
Picon

Re: Re: 1.4 compliance

On Sun, 2009-03-01 at 20:08 -0800, Blair Zajac wrote:
> Ismael Juma wrote:
> > On Mon, 2009-03-02 at 10:40 +1100, Eric Willigers wrote:
> >> Vladimir Kirichenko wrote:
> >>> scala.Console line 187 contains reference to PrintStream.printf that is
> >>> not present in java 1.4 .
> >>>
> >>> Should I file the ticket?
> >> Java 1.4 has reached End of Life and I believe it is no longer supported.
> > 
> > This is not true. 
> 
> It is true that Java 1.4 has reached end of its service life:

You trimmed the rest of what I said, which is the actual relevant bit. I
was talking in the context of the Scala distribution since that is what
the original author was asking about. There was never a question about
filing a ticket in the Sun database.

In any case, scroll down to "Java SE for Business Release Families" in
the following link:

http://java.sun.com/products/archive/eol.policy.html

You can get support for Java 1.4 for a lot longer if you're willing to
pay. But as I said above, that is not really relevant to this
discussion. The point is that Scala 2.7.x is still meant to support Java
1.4.

Best,
(Continue reading)

Meredith Gregory | 2 Mar 20:51
Picon
Gravatar

chaining servlets

Lifted, scalads and lasses,

Does anybody have a working sample of chaining the lift servlet with a 3rd party servlet? i'm interested in doing this with the Jersey servlet to get some of their request/response rendering support.

Best wishes,

--greg

--
L.G. Meredith
Managing Partner
Biosimilarity LLC
806 55th St NE
Seattle, WA 98105

+1 206.650.3740

http://biosimilarity.blogspot.com

Marius Danciu | 2 Mar 21:57
Picon
Gravatar

Re: chaining servlets

This is done by default as Lift is a Filter.

You can also explicitly mark a Req to not be served by Lift. Please see LiftRules.liftRequest

Br's,
Marius

On Mon, Mar 2, 2009 at 9:51 PM, Meredith Gregory <lgreg.meredith <at> gmail.com> wrote:
Lifted, scalads and lasses,

Does anybody have a working sample of chaining the lift servlet with a 3rd party servlet? i'm interested in doing this with the Jersey servlet to get some of their request/response rendering support.

Best wishes,

--greg

--
L.G. Meredith
Managing Partner
Biosimilarity LLC
806 55th St NE
Seattle, WA 98105

+1 206.650.3740

http://biosimilarity.blogspot.com

Viktor Klang | 2 Mar 22:00
Picon

Re: [Lift] chaining servlets



On Mon, Mar 2, 2009 at 8:51 PM, Meredith Gregory <lgreg.meredith <at> gmail.com> wrote:
Lifted, scalads and lasses,

Does anybody have a working sample of chaining the lift servlet with a 3rd party servlet? i'm interested in doing this with the Jersey servlet to get some of their request/response rendering support.

This is why we made Lift a Filter :)
 


Best wishes,

--greg

--
L.G. Meredith
Managing Partner
Biosimilarity LLC
806 55th St NE
Seattle, WA 98105

+1 206.650.3740

http://biosimilarity.blogspot.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Lift" group.
To post to this group, send email to liftweb <at> googlegroups.com
To unsubscribe from this group, send email to liftweb+unsubscribe <at> googlegroups.com
For more options, visit this group at http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---




--
Viktor Klang
Senior Systems Analyst
Meredith Gregory | 2 Mar 23:28
Picon
Gravatar

[Lift] Re: chaining servlets

Marius, Viktor,

Many thanks for your prompt responses. You'll have to pardon me as i've not graduated from Web101 ;-). i was really looking for an example. To illustrate, in looking at web.xml in a archetype-generated lift project i see that only filter and filter mapping is defined. How is a servlet then chosen?

Also, i'm sort of interested in wrapping lift's request processing. Here's what i mean. If i've understood what Jersey does correctly (and that's a big if), then it will do Request and Response rendering. So, what i want is

 == HttpRequest ==> (JerseyFilter) == ModifiedRequest ==> (LiftFilter) ==> Response == (JerseyFilter) ==> ModifiedOutboundResponse ==>

It's not clear to me how this is accomplished. There's the dead obvious idea, but i'm leary that this won't work because the "types" are unlikely to line up. 

Best wishes,

--greg

On Mon, Mar 2, 2009 at 1:00 PM, Viktor Klang <viktor.klang-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:


On Mon, Mar 2, 2009 at 8:51 PM, Meredith Gregory <lgreg.meredith-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
Lifted, scalads and lasses,

Does anybody have a working sample of chaining the lift servlet with a 3rd party servlet? i'm interested in doing this with the Jersey servlet to get some of their request/response rendering support.

This is why we made Lift a Filter :)
 


Best wishes,

--greg

--
L.G. Meredith
Managing Partner
Biosimilarity LLC
806 55th St NE
Seattle, WA 98105

+1 206.650.3740

http://biosimilarity.blogspot.com





--
Viktor Klang
Senior Systems Analyst





--
L.G. Meredith
Managing Partner
Biosimilarity LLC
806 55th St NE
Seattle, WA 98105

+1 206.650.3740

http://biosimilarity.blogspot.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Lift" group.
To post to this group, send email to liftweb <at> googlegroups.com
To unsubscribe from this group, send email to liftweb+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Viktor Klang | 2 Mar 23:46
Picon

[Lift] Re: chaining servlets

hehe, no worries, I'm one of your fans. :)

You should be able to accomplish this by having the filter mapping for Jersey in web.xml placed before the Lift filter mapping:

"Recall that a filter chain is one of the objects passed to the doFilter method of a filter. This chain is formed indirectly via filter mappings. The order of the filters in the chain is the same as the order that filter mappings appear in the web application deployment descriptor. "

http://java.sun.com/products/servlet/Filters.html


The Jersey will handle the request first, then pass it thru to Lift, then back.
I of course have not tested this with Jersey and do not know if there are any strange things that can happen.
But I'm sure you'll find out and get back to us ;)


Cheers,
Viktor

On Mon, Mar 2, 2009 at 11:28 PM, Meredith Gregory <lgreg.meredith-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
Marius, Viktor,

Many thanks for your prompt responses. You'll have to pardon me as i've not graduated from Web101 ;-). i was really looking for an example. To illustrate, in looking at web.xml in a archetype-generated lift project i see that only filter and filter mapping is defined. How is a servlet then chosen?

Also, i'm sort of interested in wrapping lift's request processing. Here's what i mean. If i've understood what Jersey does correctly (and that's a big if), then it will do Request and Response rendering. So, what i want is

 == HttpRequest ==> (JerseyFilter) == ModifiedRequest ==> (LiftFilter) ==> Response == (JerseyFilter) ==> ModifiedOutboundResponse ==>

It's not clear to me how this is accomplished. There's the dead obvious idea, but i'm leary that this won't work because the "types" are unlikely to line up. 

Best wishes,

--greg

On Mon, Mar 2, 2009 at 1:00 PM, Viktor Klang <viktor.klang <at> gmail.com> wrote:


On Mon, Mar 2, 2009 at 8:51 PM, Meredith Gregory <lgreg.meredith-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
Lifted, scalads and lasses,

Does anybody have a working sample of chaining the lift servlet with a 3rd party servlet? i'm interested in doing this with the Jersey servlet to get some of their request/response rendering support.

This is why we made Lift a Filter :)
 


Best wishes,

--greg

--
L.G. Meredith
Managing Partner
Biosimilarity LLC
806 55th St NE
Seattle, WA 98105

+1 206.650.3740

http://biosimilarity.blogspot.com





--
Viktor Klang
Senior Systems Analyst





--
L.G. Meredith
Managing Partner
Biosimilarity LLC
806 55th St NE
Seattle, WA 98105

+1 206.650.3740

http://biosimilarity.blogspot.com





--
Viktor Klang
Senior Systems Analyst

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Lift" group.
To post to this group, send email to liftweb <at> googlegroups.com
To unsubscribe from this group, send email to liftweb+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---


Gmane