|
Sponsored Links
Resources
Enterprise Java Research Library
Get Java white papers, product information, case studies and webcasts
|
News
News
News
|
Messages: 17
Messages: 17
Messages: 17
Printer friendly
Printer friendly
Printer friendly
Post reply
Post reply
Post reply
XML
XML
XML
|
 |
First Release of Apache Sling
Sling is intended to bring back the fun to Java developers and make the life of a web developer easier. It deals with the important task of bringing your content into the web and providing a platform to manage/update the content. Underneath the covers Sling makes use of a Java Content Repository (such as Apache Jackrabbit).
Sling is built into OSGi bundles and therefore benefits from all advantages of OSGi. On the development side a scripting layer (using Apache BSF) allows to use any scripting language with Sling (of course you can use plain old Java, too). And on top of this, Sling helps in developing an application in a RESTful way.
As the first web framework dedicated to JSR-170 Java Content Repositories, Sling makes it very simple to implement simple applications, while providing an enterprise-level framework for more complex applications.
Apache Sling currently comes in four flavors: - A standalone application (a jar containing everything to get started with Sling) - A web application (just drop this into your favorite web container) - The full source package (interested in reading the source?) - Maven Artifacts (available through the Apache Incubator Repository)
For more information, please visit the Apache Sling web site at http://incubator.apache.org/sling or go directly to the download site at http://incubator.apache.org/sling/site/downloads.cgi
The Apache Sling Community
-- Carsten Ziegeler cziegeler@apache.org
|
|
Message #257996
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
HREF for Sling
Your HREF for Sling is wrong, it includes the comma and the link gives a 404.
|
|
Message #257997
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
The base for future Apache frameworks?
Given the fact that Carsten is a core developper of Apache Cocoon, can we expect Sling to become the very core of some future Apache web frameworks, such as Cocoon? (that would definitely be a good news).
|
|
Message #258136
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Very exciting
This is the most interesting thing I've seen for the Web in a long, long time.
I've been noodling in my head a very similar system, but this goes beyond what I was thinking, and it more innovative and flexible.
This thing is wide open in terms of flexibility.
This is what happens when you take a JCR and, basically, "expose" it to the web.
On the one hand, its very "back to basics". It's got nothing on the modern component frameworks in terms of developing sophisticated "web apps".
It is, in fact, quite "old school". You can look at this as a minor step up from web development ca 1995, where everything as just HTML and CGI.
But it is more than that. In old school apache, you had static resources and scripts. But here, you have content nodes with meta data, and scripts are used to create the content. This is very powerful.
With servlets, we'd have to put filters or write servlets to handle the requests, and we'd have them mapped in a flat space, but with hierarchical names. Or we'd have "meta" servlets serving entire spaces (*.jsp, for example, or /this/that/*).
Here we can look at content as a hierarchy of nodes and readily attach logic on the nodes, if we want to.
We can put logic on specific nodes, we can put it on branches, we can readily handle different representations.
Also, we can do this all dynamically. We can upload changes on the fly, we can upload SERVLETs on the fly, no container restart required (thanx to OSGi).
Finally, this is on a full boat JCR, which should include version control (doesn't really say, but JackRabbit has some support for that, so if not now, should be close).
I wouldn't use this for a internal office order entry system. Far better frameworks for that.
But for more conventional "web sites", that are more content than logic, I think this is a very powerful base system that can be really flexible.
|
|
Message #258175
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Re: Very exciting
It would almost be perfect for a site like TSS, for example. Trivial to do, really.
|
|
Message #258513
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Re: Very exciting
It would almost be perfect for a site like TSS, for example. Trivial to do, really.
Yeah, looks like a good match for that.
|
|
Message #258529
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
What if content rendering can have Wicket components?
Something like:
<% sling.wicket_component("component_name", "/catalog/list"); %>
where "component_name" is some Wicket component deploy through OSGi bundle, Sling fetch the data from the repository wrap it in a Wicket model, hand it off to the Wicket component to generate html, allow header contribution. Wouldn't this be nice?
|
|
Message #258616
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Cool stuff
Cool stuff really! It took maven 45 mins to download all the dependencies though.
|
|
Message #258619
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
No plans to base Cocoon on Sling
As a Sling committer, I don't think there are any plans to make Cocoon run on Sling.
Implementing Cocoon-like pipelines, or using a minimal version of Cocoon inside Sling sounds much more probable, that might be useful for example to generate PDF documents from Sling using FOP and XSLT transforms.
The extreme modularity provided by OSGi makes it possible to write something like that without having to know much about Sling internals, so contributions are very much welcome, of course...
|
|
Message #258620
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
TSS in Sling
It would almost be perfect for a site like TSS, for example. Trivial to do, really.
Actually yesterday David Nuescheler and myself recreated TSS in Sling in 10 minutes, live on stage at the Jazoon conference [1] ;-)
To be honest we did not *completely* recreate TSS, but starting from a set of static pages saved from the TSS site, 10 minutes are enough to start Sling from scratch (runnable jar, no installation required) and add the very small amount of Sling code required to create, edit, approve and display posts.
[1] http://preview.tinyurl.com/53usl5
|
|
Message #258622
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Re: What if content rendering can have Wicket components?
<% sling.wicket_component("component_name", "/catalog/list"); %> ...Wouldn't this be nice?
It sure would, and you're welcome to discuss this over on the Sling developers list if you think you could contribute something!
|
|
Message #258664
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
How to orchestrate those components?
How do you plan to orchestrate the Sling components in a web application? REST-style (ie. orchestration is somewhere else)? or provide some kind of workflow system?
|
|
Message #258680
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Re: TSS in Sling
It would almost be perfect for a site like TSS, for example. Trivial to do, really.
Actually yesterday David Nuescheler and myself recreated TSS in Sling in 10 minutes, live on stage at the Jazoon conference [1] ;-)
To be honest we did not *completely* recreate TSS, but starting from a set of static pages saved from the TSS site, 10 minutes are enough to start Sling from scratch (runnable jar, no installation required) and add the very small amount of Sling code required to create, edit, approve and display posts.
[1] http://preview.tinyurl.com/53usl5 Yeah, same thing happened at TSSJS-Vegas. It's a good presentation.
|
|
Message #258838
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Re: TSS in Sling
I'd love to see this presentation.
Or just (reasonably detailed) slide, or simply a write up of what was done and why.
|
|
 |
New content on TheServerSide.comNew content on TheServerSide.comNew content on TheServerSide.com |
 |
 |
Reza Rahman explores the features of the proposed JSR 299, Contexts and Dependency Injection for Java EE (CDI). When approved, it promises to be a key feature of Java EE 6.
(November 2, Article)
SAML is an XML-based standard for exchanging authentication and authorization data between security domains. The single most important problem that SAML was created to solve is the Web browser Single Sign-On problem. Many organizations are debating whether to stay with version 1.1 or move to 2.0. This article makes observations about both options.
(September 28, Article)
Joe Ottinger takes a look at how people learn, and applies it to the practice of programming. He notes that understanding how people learn is an essential part of working in a programming team.
(September 22, Article)
Stephen Maryka gave us an article about the Asynchronous Web and posed a number of questions that get examined like an approach to delivering Asynchronous Web capabilities through extensions to existing Java EE technologies.
(July 14, Article)
JavaServer Faces Flex goal is to provide users capability in creating standard Flex components, part of flexSDK which is open sourced through MPL license, as normal JSF components. This article by Ji Hoon Kim will provide an overview of creating a simple multilingual JSF page consisting of JSF Flex tags.
(June 29, Article)
In this session Jeff explores the key characteristics of successful SOA projects. He covers some of the patterns, and anti-patterns, tool sets, and strategies that he himself learned the hard way. Last, he provides a strategy and blueprint for achieving a high likelihood of success in your SOA project.
(June 23, Tech Talk)
Ari Zilka, CTO of Terracotta, Inc., talks about the new features in Terracotta 3.1, announced during JavaOne and available now.
(June 15, Tech Talk)
In this Tech Talk, Josh Long explores an integration challenge using Spring Integration and walks through the implementation, employing and expanding on the basic patterns of Enterprise Application Integration to tie together components into a function integration solution, and then demonstrates how Spring Integration helps address the integration requirements.
(June 15, Tech Talk)
In this Tech Talk, David Geary teaches you: The basics of Google Web Toolkit; How to implement Ajax-enabled applications in Java; Internationalization; Hooking into the browser history mechanism; Remote procedure calls.
(June 4, Tech Talk)
Jon Kern discusses the best architecture/technical solutions and ensure that they are repeated by all developers. By tackling the architecture up-front in a serial manner, subsequent parallel development will be much more manageable and predictable.
(May 28, Tech Talk)
This keynote describes the frustrations of modern knowledge workers in their quest to actually get some work done, and solutions for how to guard yourself against all those distractions. Neal Ford talks about environments, coding, acceleration, automation, and avoiding repetition as ways to defeat the misguided attempts to sap your ability to produce good work.
(May 26, Tech Talk)
Gil demonstrates how new, aggressive uses of already abundant compute capacity by common applications offer competitive value for application designers.
(May 21, Tech Talk)
Chris Keene introduces WaveMaker as a new way to automate the ability to generate Hibernate classes in order to more quickly bring OR mapping into an application.
(May 19, Article)
In this session Nati Shalom demonstrates how to take a standard Java EE web application and scale it out or down dynamically without changes to the application code. Seeing as most web applications are over-provisioned to meet infrequent peak loads, this is a dramatic change because it enables growing your application as needed, when needed, without paying for unutilized resources.
(May 19, Tech Talk)
Mastering EJB was one of the original and most influential EJB books in the industry. Mastering EJB III now returns with two new expert co-authors, updated for EJB 2.1 and 30% new chapters including security, integration, best practices, open source, and more.
(Book PDF Download)
The Application Server Matrix is a detailed listing of J2EE vendors and their application server products, with information on latest version numbers, J2EE spec support and licensing, pricing, platform support, and links to product downloads and reviews.
(Application Server Comparison Matrix)
|
|