Node.js with Domino a Tutorial  

By Toby Samples | 2/11/16 10:16 AM | - | Added by John Oldenburger

In my last blog I mentioned that I have been working with Node.js for a little while and wanted to share some of my education on the blog. I thought a good way to do that would be to take an already existing tutorial application written for the MEAN stack(Mongo, Express, Angular, Node) and make it work with a Domino Database.

JAX-RS or THE way to do REST in Domino Part 4  

By Toby Samples | 7/9/15 12:20 AM | - | Added by John Oldenburger

f you’ve ever created a REST service you know one of the first problems you’ll run into is that you can only call that service from the same domain that it lives on. Because of Cross Origin Resource Sharing security issues, The browser will not allow it unless the service includes certain HTTP headers.

JAX-RS or THE way to do REST in Domino Part 3.5  

By Toby Samples | 7/2/15 12:50 AM | - | Added by John Oldenburger

Soooo, I know I said the last segment was my last on this, but I thought I could share one other really cool thing about using JAX-RS. Using JAX-RS allows you as a developer to avoid not only parsing JSON but also having intermediary objects like JsonJavaObject from IBM Commons.

JAX-RS or THE way to do REST in Domino Part 3  

By Toby Samples | 6/29/15 12:43 AM | - | Added by John Oldenburger

In the last segment of this series I pointed you to use a couple of resources from my github as templates, but didn’t really specify how those work or how to add your own services. I hope to finish the series today with some explanation of those resources. The Web.xml is the configuration in all Java EE apps.

JAX-RS or THE way to do REST in Domino Part 2  

By Toby Samples | 6/23/15 8:45 AM | - | Added by John Oldenburger

In part 1 of this series you learned how to setup Eclispe to write OSGi plugins. Next we get to create a plugin. The web.xml points to the JAX-RS application we haven’t created yet, so you will also need to get the 2 Java files from the project here. Once you have added those 2 Java files and make sure the namespace matches.

JavaScript sugar of the day  

By Toby Samples | 5/1/15 1:08 AM | - | Added by Johnny Oldenburger

So I needed to use the slice function in the result of a getElementsByClassName() call. Something like: var elements = document.getElementsByClassName(‘MyClassName’); var copyOfElements = elements.slice(0); However this fails on the second line because slice is not a function on the elements objects.

JAX-RS or THE way to do REST in Domino Part 1  

By Toby Samples | 4/28/15 12:58 AM | - | Added by Johnny Oldenburger

The IBM Domino community has had servlets on its mind lately, and XAgents, and Rest Services. These are all great advances to using IBM Domino in a modern world. However to bring IBM Domino into a more modern age of Java Development we must go beyond just writing servlets like it was 1999.

Maven, and an easy way to use it with XPages  

By Toby Samples | 4/13/15 1:03 AM | - | Added by Johnny Oldenburger

For some time now the Domino community, with good reason, has been very focused on using Java inside of Domino, specifically with XPages. There are some great reasons to use Java, but one of the foremost reasons is support from the Java community in both word (Stackoverflow) and deed (Third party libraries).

XPages Custom Converters: Change the data, Change the world!  

By Toby Samples | 12/15/14 12:29 AM | - | Added by Johnny Oldenburger

So as my next installment of the XPages feature series I will be discussing Converters, This seemingly boring feature actually has a lot of functionality packed into it. Almost everyone who has ever written an xpage has probably used at least one of the standard converters that come out of the box. I would say the most used one is the date converter.

No State No Problem  

By Toby Samples | 12/11/14 12:32 AM | - | Added by Johnny Oldenburger

A while back I ran into this problem while using Xagents, these are pseudo Lotus Notes Web Agents that are created by changing the <xp:view> tag's rendered attribute to false and writing to the outputstream directly. I had an application that had a view where an end user could select several rows in a table and then perform an action on each of the selected items.

XSP Libraries  

By Toby Samples | 10/13/14 1:11 AM | - | Added by Oliver Busse

Since version 8.5.2, Domino Developers have an amazing tool that I feel has been underused due to the massive mindset shift of developing Domino Apps to developing Java Apps. The Domino Server now has the capability of consuming OSGi Libraries. These libraries can provide any amount of Java Code and provide it to all the apps on your server or domain via replication. Part of the complexity has to do with the way these libraries created and deployed.

XPages LDAP Datasource  

By Toby Samples | 3/8/13 12:24 PM | - | Added by Per Henrik Lausten

A couple of days ago I contributed an opensource project on openntf that is a datasource for Xpages that will allow the developer to connect to an LDAP server and use it as a datasource for their Xpage.

OSG what?  

By Toby Samples | 3/4/13 11:25 PM | - | Added by Per Henrik Lausten

Everyone who has ever coded more than a hello world statement in any language probably has a few go to functions or subroutines or methods that they use all the time and in almost every app they write.  I have been lucky enough to stand on the shoulders of giant as well and not only do I use my own utility libraries, but I also have been able to borrow and steal libraries that have made my life easier and my apps better.  However since I use these same libraries in almost every app it would be nice to not have to add the Library to every app.  There are many ways in which this is accomplished