268 Lotus blogs updated hourly. Who will post next? Home | Blogs | Search | About 
 
Latest 7 Posts
Connect 2016 and Darwino 1.0
Mon, Feb 8th 2016 170
Connect 2016 Lead-Up
Tue, Jan 26th 2016 10
That Java Thing, Part 12: Expanding the Plugin - JAX-RS
Thu, Dec 3rd 2015 11
That Java Thing, Part 11: Diagnostics
Tue, Dec 1st 2015 10
That Java Thing, Interlude: Effective Java
Mon, Nov 16th 2015 7
That Java Thing, Part 10: Expanding the Plugin - Serving Resources
Thu, Nov 12th 2015 9
That Java Thing, Part 9: Expanding the Plugin - Jars
Wed, Nov 11th 2015 9
Top 10
Connect 2016 and Darwino 1.0
Mon, Feb 8th 2016 170
How I Maven-ized My Framework
Mon, Dec 8th 2014 12
Quick Tip: Wrapping a lotus.domino.Document in a DominoDocument
Tue, Mar 3rd 2015 12
That Java Thing, Part 12: Expanding the Plugin - JAX-RS
Thu, Dec 3rd 2015 11
Maven Native Chronicles, Part 2: Setting Up a Windows Jenkins Node
Sun, Jul 26th 2015 10
That Java Thing, Part 6: Creating the Feature and Update Site
Sun, Nov 8th 2015 10
That Java Thing, Part 11: Diagnostics
Tue, Dec 1st 2015 10
Connect 2016 Lead-Up
Tue, Jan 26th 2016 10
Working with Rich Text's MIME Structure
Wed, Jul 8th 2015 9
That Java Thing, Part 9: Expanding the Plugin - Jars
Wed, Nov 11th 2015 9




Recent Blog Posts
170
Connect 2016 and Darwino 1.0
Mon, Feb 8th 2016 9:45a   Jesse Gallagher
Last week was Connect 2016 and, while I don't have a full review of it, I felt that it was a pretty successful conference. The new venue was much less weird and more purpose-fitting than expected. Moreover, while the conference content wasn't bursting with announcements and in-depth technical dives like at something like WWDC, it did feel a bit more grounded and less marketing-hollow than the last two. So I'll call it a win. On the OpenNTF front, the conference saw a bit more in the slo
10
Connect 2016 Lead-Up
Tue, Jan 26th 2016 9:02a   Jesse Gallagher
Phew, well, my plugin series continues its hiatus due to how thoroughly swamped I've been with work the last couple months. It will return in time, ready to dive into the fruitful and terrifying topic of Maven-ization. In the mean time, we're very close indeed now to this year's Connect, and I'm looking forward to it. There are a number of sessions that I'm rather looking forward to, but I'd like to mention two due to my indirect and direct association with them, respectively. Firs
11
That Java Thing, Part 12: Expanding the Plugin - JAX-RS
Thu, Dec 3rd 2015 3:21p   Jesse Gallagher
A couple of months back, Toby Samples wrote a series on using Wink in Domino. I'm not going to cover all of that ground here, but it's still worth dipping into the topic a bink, as writing REST services in an OSGi plugin is a great way to not only add capabilities to your XPages apps, but to also start making your data (and programming skills) more accessible from other platforms. There are two main terms to know here: "JAX-RS" and "Wink". JAX-RS stands for "Java API for RESTful Web
10
That Java Thing, Part 11: Diagnostics
Tue, Dec 1st 2015 8:43a   Jesse Gallagher
Though my surprisingly-packed schedule the last few weeks caused a hiatus, it's time to retun to this series with a quick description of some of the diagnostic tools available to you when doing plugin development (outside of connecting the debugger, which I may do eventually). The primary tool in your "what the heck is going on?" toolbox should be the XPages Log File Reader. This app does a wonderful job providing a web UI for the important diagnostic files you'll likely need to see du
7
That Java Thing, Interlude: Effective Java
Mon, Nov 16th 2015 8:15a   Jesse Gallagher
While taking a short breather in my continuing Java series, I think that now is a good time to reiterate my advice for all Domino developers to read Effective Java. It's probably not the best way to learn Java from scratch, but it's an invaluable tour through tons of important Java concepts. Even if you don't use most of the knowledge immediately, reading every section will help immerse you in the language and give you a better appreciation for its texture, which is one of the most im
9
That Java Thing, Part 10: Expanding the Plugin - Serving Resources
Thu, Nov 12th 2015 12:02p   Jesse Gallagher
After sharing code, one of the handiest uses of a plugin is sharing web resources - stylesheets, JavaScript files, and so forth. This process is similar to the last couple steps in that, though it is not very complicated on the whole, it's pretty non-obvious how to get around to doing it. To start with, we'll create some resources to serve up. Expand the src/main/resources folder in your project (it will be slightly more useful to use the "normal" folder version and not the source fold
9
That Java Thing, Part 9: Expanding the Plugin - Jars
Wed, Nov 11th 2015 11:50a   Jesse Gallagher
So it appears that I once again forgot to commit my changes. Well, consider this a cautionary tale, but we can still salvage the situation a bit by committing the previous changes before embarking on an unrelated modification - it's that mixing of different changes that can cause trouble in a source control repository. [IMAGE] For today's post, we'll add a third-party Jar to our plugin in order to use it internally and provide it to external applications (and we'll cover why those ar
9
That Java Thing, Part 8: Source Bundles
Tue, Nov 10th 2015 7:46a   Jesse Gallagher
Before anything else today, Eric McCormick reminding that yesterday's post missed the final step: committing the changes. So, let's take care of that right now. On my side, since my Windows VM is also being accessed from the Mac side, it's worthwhile to add a .gitignore file to the root of the repo to keep out all the .DS_Store nonsense. GitHub's Java gitignore is a good start, though skipping the part about ignoring Jar files. In your text editor of choice, create a new file named ".
7
That Java Thing, Part 7: Adding a Managed Bean to the Plugin
Mon, Nov 9th 2015 6:37a   Jesse Gallagher
For today's step, we'll deal more with the meat of the task: putting your own code in the plugin. There are a lot of options for what a plugin can provide, ranging from just storing classes to be accessed from elsewhere to being full-on OSGi web applications. Adding a managed bean certainly falls on the simpler side of this spectrum, but it's also one of the most common uses. These steps should also be very familiar if you've created a managed bean in an XPages NSF before. Before we g
10
That Java Thing, Part 6: Creating the Feature and Update Site
Sun, Nov 8th 2015 10:45a   Jesse Gallagher
The last post covered turning our nascent plugin into a proper XPages library, so now it's time to fill in the remaining pieces to get it installed. To do that, we'll need a feature and an update site. The feature will point to our plugin - in a more-complicated setup, this could point to several related plugins, but we'll just need the one. The update site will do similarly, referencing the feature in a way that Eclipse-type platforms know about. Go to File → New and choose "Feature




Created and Maintained by Yancy Lent - About - Planet Lotus Blog - Advertising - Mobile Edition