Search the web
Sign In
New User? Sign Up
wingding · Wing Ding Design Pattern
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 986 - 1015 of 1288   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
986
What you want is a declaration that says "The same type as me". I've seen a couple other people come around to this idea, but I can't recall if anyone has...
jason marshall
jdmarshall@...
Send Email
Sep 3, 2008
5:44 pm
987
The WingDings Study Group (http://tech.groups.yahoo.com/group/wingding) continues our exploration of "Effective Java, 2nd Edition" by Joshua Bloch. The next...
Robert Kuhar
robertkuhar
Offline Send Email
Sep 5, 2008
7:45 pm
988
Hi all, maybe some one can help me with a web app issue. My app serves google maps base layers tiles, for which the request includes a zoom level z, a row...
Stuart Maclean
stanleyarms
Offline Send Email
Sep 8, 2008
10:57 pm
989
... What's the "cleanest" code you got so far? Is using Apache as a reverse proxy an option? mod_rewrite can reroute requests for existing files (provided the...
Eric Jain
ericjain
Offline Send Email
Sep 9, 2008
12:16 am
990
... Hi Eric, I am just using Tomcat, sorry I didn't mention my deployment setup. My current best effort is a servlet filter, with this doFilter: String sp =...
Stuart Maclean
stanleyarms
Offline Send Email
Sep 9, 2008
12:58 am
991
... Don't know of a standard way to forward a request to the default servlet. Did you consider simply returning cached resources yourself? This means you won't...
Eric Jain
ericjain
Offline Send Email
Sep 9, 2008
4:21 am
992
Stuart, I'm really not following this, or maybe I am and just not liking it. It seems to me that you don't really want a Servlet Filter at all here, but some...
Robert Kuhar
robertkuhar
Offline Send Email
Sep 9, 2008
7:29 am
993
Thanks for the replies. Bob, isn't your Cache object doing what my Filter does? An in my method, my servlet is not coupled to the cache, in yours it is. ...
Stuart Maclean
stanleyarms
Offline Send Email
Sep 9, 2008
4:39 pm
994
... Won't clients retrieve images twice, then? You seem to have some 304 logic in the servlet (to handle conditional requests after loosing the cache?) anyway....
Eric Jain
ericjain
Offline Send Email
Sep 9, 2008
6:04 pm
995
Sooner or later, if you write web apps, you should take the time to learn how to implement GET caching and expirations yourself. This becomes more and more...
jason marshall
jdmarshall@...
Send Email
Sep 10, 2008
9:15 pm
996
Just wanted to remind everyone that we will be skipping the September 23rd WingDings meeting. We will resume on October 14 with Piotr leading our discussion...
Robert Kuhar
robertkuhar
Offline Send Email
Sep 12, 2008
4:46 pm
997
I agree Jason. Are you saying I am or am not doing this? Both my servlet which renders images and the DefaultServlet produce a non -1 value for...
Stuart Maclean
stanleyarms
Offline Send Email
Sep 12, 2008
7:37 pm
998
So, when someone mentioned "use modproxy" you ignored the advice because you didn't know what modproxy is for, or because you thought it was for something...
jason marshall
jdmarshall@...
Send Email
Sep 13, 2008
9:10 am
999
... Looks like you know something about me that I didn't even know until now :-)...
Eric Jain
ericjain
Offline Send Email
Sep 15, 2008
4:35 am
1000
... Excuse me? I did not 'ignore the advice'. I pointed out that I am using a simple Tomcat only installation. And when I asked if you had thought that I...
Stuart Maclean
stanleyarms
Offline Send Email
Sep 18, 2008
5:12 am
1001
What I'm saying is, "I'm using Tomcat" is no reason you can't use mod_proxy. In fact, if you're a Java developer, it's probably the single most likely reason...
jason marshall
jdmarshall@...
Send Email
Sep 25, 2008
3:30 am
1002
I finally used the Executor framework in production code recently, and I found it strange the way that Future and Callable interact. Seems to me like this...
jason marshall
jdmarshall@...
Send Email
Sep 25, 2008
10:07 pm
1003
Jason, ... Callable represents a Runnable that returns a value. This is such a primitive concept that we felt it should stand on its own, and it does get a ...
Joe Bowbeer
joebowbeer
Offline Send Email
Sep 26, 2008
3:05 am
1004
... Sure. But the concept of a Future is that get() returns the result of an expensive operation. If you call get() on a Java Future that hasn't been...
jason marshall
jdmarshall@...
Send Email
Sep 26, 2008
5:55 pm
1005
Creating a Future and then waiting for its result, all in the same thread, is perfectly fine. Not publishing the FutureTask so that some other thread can set...
Joe Bowbeer
joebowbeer
Offline Send Email
Sep 26, 2008
6:34 pm
1006
A couple more thoughts. Concerning your notion that Callable and Future[Task] should have been combined more, I want to point out that they are combined more...
Joe Bowbeer
joebowbeer
Offline Send Email
Sep 27, 2008
6:02 pm
1007
The WingDings Study Group (http://tech.groups.yahoo.com/group/wingding) continues our exploration of "Effective Java, 2nd Edition" by Joshua Bloch. The next...
Robert Kuhar
robertkuhar
Offline Send Email
Oct 10, 2008
4:44 pm
1008
http://blogs.sun.com/jrose/entry/view_from_the_summit...
Robert Kuhar
robertkuhar
Offline Send Email
Oct 15, 2008
3:33 am
1009
Using a "naked" List, you can corrupt a pure collection of Strings: List items = new ArrayList<String>(); // compiler warning items.add(1); // compiler warning...
Eric Jain
ericjain
Offline Send Email
Oct 15, 2008
6:01 am
1010
Old mail, but still worth responding to (I bet you can't guess that I'm touching this code again, can you?) I agree that having the ExecutorService take a...
jason marshall
jdmarshall@...
Send Email
Oct 23, 2008
11:40 pm
1011
... Something got lost in translation here. What I meant to say was quite the opposite: Taking a Callable and returning a Future is fine, but it should be the...
jason marshall
jdmarshall@...
Send Email
Oct 24, 2008
12:09 am
1012
I think you're conceiving of Future as a lazy evaluation thunk, or something similar. That's kind of what Callable is. It does lose something in translation...
Joe Bowbeer
joebowbeer
Offline Send Email
Oct 24, 2008
12:14 am
1013
I'm thinking the way the people who coined the term thunk. Java developers seem to have some issues with doing this (see also: value object). I am by no means...
jason marshall
jdmarshall@...
Send Email
Oct 24, 2008
3:23 am
1014
On Thu, Oct 23, 2008 at 5:14 PM, Joe Bowbeer <joe.bowbeer@...> wrote:> ... Looking at FutureTask some more, I'm starting to see how maybe I could ...
jason marshall
jdmarshall@...
Send Email
Oct 24, 2008
7:48 pm
1015
The WingDings Study Group (http://tech.groups.yahoo.com/group/wingding) continues our exploration of "Effective Java, 2nd Edition" by Joshua Bloch. The next...
Robert Kuhar
robertkuhar
Offline Send Email
Oct 24, 2008
9:36 pm
Messages 986 - 1015 of 1288   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help