Hi! 2010/4/28 Jaroslav Záruba <[email protected]>
> But when you asked... :) > When debugging I'm linking the sources individually, one <script/> element > per JS-file. Then I want to be able to join them into single (static) > JS-file which is how the code is served usually. > Since when I realized I can not create the static resource within my app* > this particular issue has turned into 'playing with Java on GAE'. > Keeping the 'big JS' in memory and sending it via servlet does make much > sense to me. I will create the static file using Apache and only this > JS-compilation will be deployed to GAE-server. > > Hmm, you could merge the JS files in memory and serve it as stream via servlet and when you want to cache it use memcache. There are many classes which let you concatenate them in memory. Simple ones like Stringbuffer, BufferedOutputStreams for direct streams etc. Have you tried that? -- Mit freundlichen Grüßen, Patrick Cornelißen http://www.openprojectguide.org http://www.pcornelissen.de http://code.google.com/p/gloudy/ -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
