[ 6 posts ]

Daniel Ji

  • Username: humblepie
  • Joined: Tue Feb 28, 2012 10:30 am
  • Posts: 147
  • GitHub: humblepie
  • Gists: humblepie
  • Offline
  • Profile
Tags:

Java combo loader service

Post Posted: Thu Mar 22, 2012 9:40 am
+0-
Hi everyone,

I'm conducting a survey of Java based combo loading services for my project, but I could only find these two:

https://github.com/levancho/yuijavaloader
https://github.com/smaring/javascript-combo-service/

Are there any others out there? Does anyone have experience with a Java combo loader that's worked well with YUI 3.x?

Or would it be recommended to just use the 'official' YUI PHP combo loader instead?

Thanks.

John Lindal

YUI Contributor

  • Username: jafl
  • Joined: Mon Nov 02, 2009 2:33 pm
  • Posts: 352
  • Location: Los Angeles, CA
  • Twitter: jafl5272
  • GitHub: jafl
  • Gists: jafl
  • Offline
  • Profile
Tags:

Re: Java combo loader service

Post Posted: Mon Mar 26, 2012 8:38 am
+0-
It depends on what you can run on your server. If you want to run only Java, then you'll need a Java combo handler.

If you're ok running both Java and Apache, then you can use the PHP combo handler.

I'm currently working on a versioned combo handler for NodeJS: https://github.com/yahoo/YUI-3-Stockpile

Marc

YUI Contributor

  • Offline
  • Profile
Tags:

Re: Java combo loader service

Post Posted: Mon Mar 26, 2012 9:17 am
+0-
I derived a Spring based combo loader from one of those you mentioned. Works well

Daniel Ji

  • Username: humblepie
  • Joined: Tue Feb 28, 2012 10:30 am
  • Posts: 147
  • GitHub: humblepie
  • Gists: humblepie
  • Offline
  • Profile

Re: Java combo loader service

Post Posted: Tue Mar 27, 2012 2:42 pm
+0-
Yes, ideally, we'd only rely on Tomcat/Java server.

I found a suitable intermediate solution. Our project is already using packtag (http://sourceforge.net/projects/packtag/) to compress and get css or JS files in a single request. So using the YUI configurator (http://yuilibrary.com/yui/configurator/), I created a new packtag for the YUI files I need.

Fortunately, for our project, a central JSP is used as a template across all pages so it's just one location to update if we need to upgrade to a newer version of YUI.

This has some drawbacks, but for now, it's a solution that'll work until I have time to look into a server combo loading service. It sure beats requiring 40+ requests overhead for just loading YUI files :)

Any one else have experience w/ a java based combo loading service?

Thanks.

Richard G

  • Joined: Tue Sep 25, 2012 3:26 am
  • Posts: 4
  • Offline
  • Profile
Tags:

Re: Java combo loader service

Post Posted: Fri Nov 30, 2012 1:45 am
+0-
Marc, Is the Spring version of the combo loader something that you would consider making public?

mark.kharitonov

  • Joined: Sat Sep 15, 2012 3:12 am
  • Posts: 217
  • Offline
  • Profile
Tags:

Re: Java combo loader service

Post Posted: Fri Nov 30, 2012 3:23 am
+0-
You can check out my Java Restlet JAX-RS based implementation - https://bitbucket.org/markkharitonov/re ... er/src/tip

I am using it in our production server.
  [ 6 posts ]
Display posts from previous:  Sort by  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum