Navigation (and other custom items) in DD4T 2 Java

Posted on Leave a commentPosted in DD4T, Java, SDL Web (SDL Tridion)

You might have noticed my recent blog posts are of a Java nature, and that’s not like me. I’m currently on a Java project, so that means everything is a fun new world of learning (and pain) 🙂 On the project, one of the early tasks is navigation as you would expect. As I need to tackle this task soon, I started to look around the web for patterns and practices others have followed. Unfortunately I didn’t really find much information on navigation in DD4T Java (there are a few posts for .Net), so I decided I’d give it a […]

DD4T 2.0 Java, for ASP.Net Developers: Step 3 – Running in Tomcat and Debugging in Eclipse

Posted on Leave a commentPosted in SDL Web (SDL Tridion)

Now the fun part, getting it to run. If you’ve followed step 1 and step 2, we have everything we need now. The end is in sight… Open up Eclipse, and lets get started: Run-as “dd4t-2-java clean install” Expected Warnings (JARs not in Maven Central) [WARNING] The POM for com.tridion:cd_cache:jar:8.1.1-1005 is missing, no dependency information available [WARNING] The POM for com.vs.ezlicrun:easylicense:jar:2.5 is missing, no dependency information available [WARNING] The POM for com.tridion:cd_core:jar:8.1.0 is missing, no dependency information available [WARNING] The POM for com.tridion:cd_model:jar:8.1.0 is missing, no dependency information available Install missing JARs Locally Download the following JARs to your machine, […]

DD4T 2.0 Java, for ASP.Net Developers: Step 2 – Getting Setup in Eclipse

Posted on Leave a commentPosted in SDL Web (SDL Tridion)

Now you’ve got the environment setup in step 1, its time to get it working… which was easier said than done… You can start with the DD4T Archetype mentioned here, https://github.com/dd4t/dd4t-2-java/wiki, but at the time of doing this it was in a bit of “DLL hell” or whatever the JAR equivalent is. As an alternative, you can use my base project available on my public BitBucket. Clone the repo (https://bitbucket.org/chrismrgn/dd4t-2-java) to your local machine Ensure you have your SDL Web 8 environment setup, with the DD4T bits and pieces, and you can access your Discovey Service. Especially the items on more […]

DD4T 2.0 Java, for ASP.Net Developers: Step 1 – Getting your Environment Setup

Posted on Leave a commentPosted in SDL Web (SDL Tridion)

To .Net developers (including me), Java is the devil. It is complex, not user friendly and there are endless config files to deal with. We are use to nice GUI’s and IDEs that “do it for you”. So, when I was assigned a DD4T 2.0 Java project, with SDL Web 8, my gut reaction was… run away!!! Once they’d talked me out from the desk I was hiding under, and I could avoid it no longer, I got cracking. Also, before getting into the weeds of it, a big thanks to Raimond Kempees! He got me over a few speed bumps […]