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!-
Neueste Beiträge
Neueste 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
Schlagwort-Archive: HTTP
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
Ein Kommentar
XPages: Running Google’s Chrome V8 Javascript Engine (2)
A while ago I tried to run Google’s V8 Javascript engine on top of XPages, and today I found the reason why my server crashed after the first click: I have tried to load the engine only once (statically), and … Weiterlesen
Veröffentlicht unter ServerSide JavaScript, XPages
Verschlagwortet mit 9.0, Domino, HTTP, Java, ServerSide JavaScript, XPages
2 Kommentare
XPages: Running Google’s Chrome V8 Javascript Engine
After answering a question on Stackoverflow.com about the Prototype problematic in the XPages SSJS engine, I thought of running another Javascript engine on top of Domino. While you can use the JavaScripting API JSR223, I choosed the jav8 project for … Weiterlesen
Veröffentlicht unter Allgemein, ServerSide JavaScript, XPages
Verschlagwortet mit 9.0, Domino, HTTP, Java, ServerSide JavaScript, XPages
Schreib einen Kommentar
XPages: Execute Events with HTTP Get
To execute an event on the server, you normally have to send a POST request, because actions will be executed in the Invoke Application phase of the JSF lifecycle. A GET request will only process the Restore View and the … Weiterlesen
Veröffentlicht unter Dojo Toolkit, Java, Java Script, JSF, Performance, XPages, XSP
Verschlagwortet mit 8.5.3, 9.0, Dojo Toolkit, Domino, HTTP, Java, Java Script, JSF, Performance, XPages, XSP
2 Kommentare
XPages: File downloads and blocked UI
Yesterday Christian asked a very interesting question: He had observed that the browser UI is blocked when clicking a button which generates a PDF on the server and sends the result. For about 30 seconds no button is working, no … Weiterlesen
Veröffentlicht unter Dojo Toolkit, HTML, Java Script, Web, XPages, XSP
Verschlagwortet mit 9.0, Dojo Toolkit, Domino, HTML, HTTP, Java, Java Script, Partial Refresh, Web, XPages
Schreib einen Kommentar
XPages: Use a PhaseListener for global URL commands
One of my customers wanted an easy way for printing XPages in different formats and with different content, depending of the current XPage opened in the browser. It was a requirement to develope a global solution for every XPage-based application … Weiterlesen
XPages: The Outputstream and binary data
As wiritten in the comments, Verne is correct. I just missed the „facesContext.responseComplete()“ in the beforeRenderResponse event. If you want to get control over the outputstream of a XPage, you can use the response object from the ExternalContext: var response … Weiterlesen
Veröffentlicht unter Java, Server, ServerSide JavaScript, Web, XPages
Verschlagwortet mit 8.5.3, Domino, HTTP, Java, Server, ServerSide JavaScript, Web, XPages
7 Kommentare
Quick-n-Dirty: Disable Domino’s Cache for easier development
I am currently developing a larger application and have a lot of different mobile devices for testing purposes. After making some changes it is required that all test devices have the latest version of my XPages running, and that the … Weiterlesen
Veröffentlicht unter Allgemein, Infrastruktur, Server, Web
Verschlagwortet mit Administration, Domino, HTTP, Server, Web, XPages
2 Kommentare
Controlling the HTTP Expires Header
After reading a question on stack overflow about setting an own HTTP expires header and the problem that an additional header is generated automatically, I made some tests how the domino server can be forced to stop this behaviour programmatically. … Weiterlesen