Suche
Kategorien
Über…
Das ist das Blog von Sven Hasselbach über Themen aus der Entwicklung und alles, was ihm sonst so durch den Kopf geht.
Seit 2003 als freiberuflicher Entwickler deutschlandweit im Einsatz, mit dem Schwerpunkten Lotus Notes & XPages, Spring, Java & OSGi
IBM ICS Champion 2013
Um Kontakt mit mir aufzunehmen, einfach eine eMail an contact<at>hasselba.ch schicken oder mich bei XING finden:
Projektanfragen sind immer willkommen!-
Neue Beiträge
Neue Kommentare
- Chris Eggenberger bei xsp.application.context.proxy
- Chris Eggenberger bei xsp.application.context.proxy
- Displaying Markdown in an XPage using the showdown.js library - wp2020.focul.net bei XPages: Inject CSJS code at page top
Archive
Meta
Archiv der Kategorie: Java
High Performance REST Applications (4) – Looking into OSGi
Before going any deeper into the the servlet project, let’s have a look at the imported projects and talk about some OSGi basics. First you will notice that for every cloned repository three Eclipse projects have been imported: A plugin … Weiterlesen
Veröffentlicht unter Apache Wink, Java, JEE, OSGi, REST, Server, Web
Verschlagwortet mit Apache Wink, Domino, Java, OSGi, REST, Server, Web
2 Kommentare
High Performance REST Applications (3) – Importing the Starter Project
Now you can import the projects required from Git. First, go to „File > Import…“ Then select „Projects from Git“ and „Clone URI“ to clone an existing repository: To get the URI, you have to open https://github.com/hasselbach/ and select the … Weiterlesen
Veröffentlicht unter Java, JEE, OSGi, Performance, REST, Server, Web
Verschlagwortet mit Domino, OSGi, Performance, REST, Web
4 Kommentare
High Performance REST Applications (2) – Dev Environment
Before you can start developing a Servlet as an OSGi Plugins, you must set up a development environment first. To do this, download Eclipse IDE (Eclipse IDE for Java EE Developers) and XPages SDK from OpenNTF (The XPages SDK is … Weiterlesen
Veröffentlicht unter Java, JEE, Performance, REST, Web
Verschlagwortet mit Domino, HTTP, Java, OSGi, Performance, REST, Server
1 Kommentar
High Performance REST Applications (1) – Intro
This is a new serie about developing high performance REST applications on top of Domino. It will contain my presentations from SNoUG and EntwicklerCamp this year and describes all required steps to develop, build and deploy these servlets on a … Weiterlesen
Veröffentlicht unter Java, JEE, Performance, REST
Verschlagwortet mit Domino, Java, OSGi, Performance, REST, Server, Web
1 Kommentar
Domino & Java 1.8: Thank you, IBM!
For years it was a lot of pain when developing for the Domino platform using Java 1.6 only. But now, Java 1.8 is available, and this allows to use the latest versions for a lot of libraries and development tools. … Weiterlesen
Domino & REST: Debug your Plugin
When developing OSGi Plugins, you should have your own development server running on your local machine. Not only because of the faster deployment of changes (a new version of a plugin must always deployed with a HTTP restart), but because … Weiterlesen
Domino & REST: More about Jackson
When creating a REST API servlet, Jackson provides a huge list of possibilities to manipulate the JSON data, mostly using annotations. Let’s demonstrate some of them with this little class, which has only two properties: public class Demo { private String foo; … Weiterlesen
Veröffentlicht unter Apache Wink, Jackson, JEE, REST
Verschlagwortet mit Apache Wink, Domino, Jackson, REST, Web
Schreib einen Kommentar
Domino & REST: Accessing Domino’s Environment / Check Authentication
If we want to access Domino’s Environment, it is the ContextInfo class which gives us all we need. Everything you need to do to use the class is described in an earlier blog post. The class gives mainly access to the … Weiterlesen
Veröffentlicht unter Apache Wink, Jackson, Java, JEE, REST
Verschlagwortet mit Apache Wink, Domino, HTTP, Jackson, Java, OSGi, REST, Web
3 Kommentare
Domino & REST: Consuming JSON
Consuming JSON is as easy as pie: Just create a new method to the RestApiServlet, add a @POST annotation, and declare the object you want to the parameters of the method: @POST @Path(„/helloworld/“) @Consumes(MediaType.APPLICATION_JSON) public Response postHelloWorld(HelloWorld helloWorld) … Weiterlesen
Veröffentlicht unter Apache Wink, Jackson, Java, JEE, REST
Verschlagwortet mit Apache Wink, Domino, HTTP, Jackson, REST, Web
1 Kommentar
Domino & REST: A basic Servlet
To have a good starting point when creating RESTful applications on top of Domino, I have created a „Hello World“ example of a JEE Application, based on Apache Wink & Jackson 2.5.0. The Jackson AnnotaionProcessor is registered into Apache Wink … Weiterlesen