RECENT POSTS
By shankha - JCRDev | Posted on 2009-12-29 04:58
You may already known about it, still I am mentioning this here. I was going through the Apache Sling Site and found out that Sling itself is working on a prototype of a Sling Based JCR Explorer. Being a JCR based CMS user / developer we all know that the JCR repository needs to be explored pretty often by us to find out if the nodes we are creating and the properties we are setting to those nodes are actually "working" or not. For that we generally use som
Rated 0.0 by 0 user
Implementing versioning of node in Java content Repository
By poulomi - JCRDev | Posted on 2009-12-29 04:26
In any Java Content Repository based Content Management System, maintaining of version of data is an important requirement. This versioning of data is actually maintaining version of the node which holds that data. JSR-170 provides an easy mechanism for such versioning. Every node has one and only one primary node type. A primary node type defines the characteristics of the node, such as the properties and child nodes that the node is allowed to have. In addition to the primary node type, a n
Rated 7.0 by 1 user
Dependency Management in a Sling based application
By meamitava - JCRLead | Posted on 2009-12-11 02:31
In any Sling based application, it is always a good idea to break up the entire application into small modules and deploy them as Osgi bundles. This not only leads to smoother and faster running of the application, but also provides the scope for modiification of one segment of an application, without hampering other modules. The order of bundle implementation has to be such that minimum level of dependency, if any, must exist among the bundles. The general convention for bundle creation is -
Rated 4.5 by 2 users
Migrating an application from Sling 3 to Sling 5 - II
By meamitava - JCRLead | Posted on 2009-11-08 21:30
The last post on migration dealt with the basic steps of the transformation process. Next job is to export the data from the existing application on Sling 3 and exporting the same to the one running on Sling5. For import and export of data jcr-explorer may be used. (This is a web-based explorer application to administer and maintain a JSR-170 compliant JCR repository like Apache Jackrabbit. It allows e.g. to browse nodes, edit properties, make queries and use optional features like versioning,
Rated 0.0 by 0 user
HTTP Servlet as OSGi Service in Apache Sling Framework
By pulak - JCRDev | Posted on 2009-09-21 03:42
An OSGi (Open Service Gateway Initiative) service is a java object instance, registered into an OSGi framework with a set of properties. Any java object can be registered as a service. Generally, services is the preferred method, bundles should use to communicate between each other and the client of a service is always an OSGi bundle (is normal jar components with extra manifest headers). So, you do use java interface mechanism when exposing OSGi Service to be used by other bundles. Here is t
Rated 0.0 by 0 user
Storing a string as an element of a multivalued property of a node in a Sling based application
By meamitava - JCRLead | Posted on 2009-09-04 04:18
Multivalued property is indeed a problematic issue to handle in case of a Java Content Repository node in a Sling based application. The problem multiplies when we try to carry out any form of tweaking on such a node. I had faced a situation, wherein it was required to store a string as an element of a multivalued property of a JCR node. The main problem was how to store a string as an element of a Value array. I resolved the problem by following the below steps: Pass the string to be stored
Rated 0.0 by 0 user
Obtaining JCR Session in a Sling based application
By shankha - JCRDev | Posted on 2009-09-04 00:14
Sling is based upon JCR, the java content repository. So, whenever we are storing some data in a Sling based application, ideally we are storing the data in the underlying JCR. Now, to store any data in the repository we need a JCR Session Object. The root cause of writing this post is to show you the way to get the JCR Session in the Sling based application. Sling itself overrides the HttpServletRequest object what we widely use in all J2EE application. Sling provides us with the HttpSl
Rated 0.0 by 0 user
Learning Apache Sling - with J2EE Design/Development Background
By bbasu - JCRDev | Posted on 2009-07-13 01:30
I shall enlist my ideas based on our team's experience in picking up Sling, simultaneously starting to work with it in a Live-Project. This might not be a generic view but would certainly be indicative for a J2EE person planning to learn Sling. 1) A J2EE person primarily feels comfortable in learning/ working in any Web Based Design Framework. Sling being a Web Framework, the initial comfort level for a J2EE person to start off with Sling should be quite
Rated 8.4 by 5 users
By nambuj - JCRLead | Posted on 2009-05-11 05:37
When I browse through net, I get many articles which talk about JCR, CMIS, Jackrabbit, REST, etc; but when I look for a place where I can get all the information at a single place, I don’t get any. JCRDev provides the only platform where we can get all content under one umbrella. We can read experiences of developers from JCR world in Blog section while we can interact with them in Forums. News section updates on recent developments while Wiki gives an opportunity to create collab
Rated 0.0 by 0 user
Configure SSL on Sling (on top of Jetty)
By bhatasuj - JCRDev | Posted on 2009-05-02 17:06
Since the Sling standalone application embeds PAX Web 0.5.2, which in turn wraps Jetty. So for SSL configuration we ultimately have to do the configuration at the PAX Web side. Prior to setup SSL on PAX Web, you may read How to configure SSL in Jetty and skip step 4 from that page, as the configuration part must be done in Pax Web specific way. To enable SSL support you must set the following properties in your sling.properties file: org.osgi.service.http.secure.en
Rated 0.0 by 0 user
By dsshah - JCRDev | Posted on 2009-04-21 00:46
So after two versions, and much debate (and still ongoing) about differences and benefits of JCR v/s CMIS, What's the state of JCR compliance among ECM vendors? Here is from what I can gather from reading thru vendor websites and little bit of google-ing. (Let me know of any corrections). Vendor with JCR Compliant Repositories and CMS product: Jackrabbit : Reference Implementation of JCR standards. Day CRX : http://www.day.com/content/day/en/products/crx.html Magnolia : it is JSR 170 bas
Rated 0.0 by 0 user
Magnolia - Simple Is Beautiful
By nambuj - JCRLead | Posted on 2009-04-13 11:21
Magnolia started with "Simple is beautiful" and when I started using this I found it really means what it says. The tool is simple and yet beautiful. It has almost all basic features of an advance CMS tool and it also keeps on adding new web features. Recently I saw "forum" and "wiki" added as new modules. It has now power to build a CMS solution with added Web 2.0 features. The recent mantra at Magnolia says "Simple Open Source Content Management", again it emphasizes on the word "simpl
Rated 5.0 by 2 users
What it takes to move to JCR world?
By kkadiyala - JCRDev | Posted on 2009-04-07 19:42
Let's discuss what it takes to move existing proprietary content stores (Teamsite, Documentum, Fat Wire, Vignette etc) to JCR complaint repository like Day CRX, Magnolia, Alfresco etc.
Rated 0.0 by 0 user
By pulak - JCRDev | Posted on 2009-04-02 12:45
Apache Sling is a Web application framework for java platform based on REST principles that provides easy development of content-oriented applications. Sling uses a JSR-170 compliant JCR repository, such as Apache Jackrabbit, to provide storage, presentation, and management of data. Sling started as an internal project at Day Software, and entered the Apache Incubator in September 2007 at The Apache Software Foundation (ASF). Sling is being developed using Apache Felix as the OSGi framework (i
Rated 5.5 by 4 users
Introduction to OSGi and Felix
By thaneshk - JCRLead | Posted on 2009-04-01 20:03
What is OSGi?Open Services Gateway Initiative (OSGi) defines architecture for developing and deploying modular applications and libraries. It is also known as the âDynamic Module System for Javaâ.OSGi containers allow you to break your application into individual modules and manage the cross-dependencies between them with:⢠services implemented within the container⢠a contract between the container and your applicationThese services and contracts provide an architecture which enables ind
Rated 0.0 by 0 user
How Sling, OSGi, Felix, REST and Jackrabbit are related with respect to CQ5?
By thaneshk - JCRLead | Posted on 2009-04-01 20:02
Communiqué (CQ) 5 is a modular content management portfolio of products that incorporates Web Content Management, Digital Asset Management, Social Collaboration, Portal Management and Workflow. CQ5 is a product of Day Software. The product has been completely redesigned from Day 4.x.CQ5 is built using Sling, a Web application framework based on REST principles that provides easy development of content-oriented applications. Sling uses a JCR repository, such as Apache Jackrabbit, or Dayâs CRX,
Rated 0.0 by 0 user
By thaneshk - JCRLead | Posted on 2009-03-31 16:58
Rated 0.0 by 0 user
By nambuj - JCRLead | Posted on 2009-03-16 16:59
When we started building a web application on Sling framework we had a herculean task in hand. We knew from very first day that it’s not going to be an easy job as there’s not much help available on this. First thing we wanted to do is to understand the overall architecture. We started digging down and we encountered several other new terms like OSGi, Jackrabbit, Felix, etc. Our purpose was to understand each and every terminology used in and around this framework. The process of
Rated 0.0 by 0 user
BLOG STATS
5624 visitors have read this BlogPopular Posts
The Apache Sling FrameworkTemplate Creation in Day Communique 4.x
JCR and ECM Vendors
Writing Filters in Apache Sling Web Application
Sling based JCR Explorer
JCR DEVELOPERS (level, posts)


