If you try to implement with Java the client side for a HTTPS communication with client authenification and google for it, you will find many examples. But with most of the examples you find, have the one or other problem, if you really try it. That’s why I want to wrap it up and bring […]
Webdevelopment
Setting up a own CA for the enterprise
Inside an enterprise there are a lot of machines communicating with each other. It is necessary to keep these communications secure and private. This can be achieved through encryption. In the enterprise SOA the most important protocol is HTTP. The encrypted version is HTTPS and needs at least one certificate. The certificate is the host […]
Using certificates for authentication at M2M communication
Most bigger companies are today building up a enterprise SOA. On of the key characteristic of the enterprise SOA is the machine to machine communication. The communication between the machines has to be secured. Important is 1.) to keep the the content of the sent messages private 2.) ensure only the authorized machine can invoke […]
Encrypted credentials in Maven with jasypt
When developing enterprise applications it is best practice check in the source code into a version control system. Additionally to the code also configuration settings and credentials are often checked in. This is usually no problem for test environments, but configurations for the production environments perhaps should not be readable for everyone having access to […]
Bringing Apache virtual hosts and and conf together
With Apache 2.4 the configuration structure of apache changed. In the configuration folder of apache there are now subfolders conf mods sites The mods folder is quite clear. With links in the enabled folder the modules can be activated. Most web application like phpmyadmin, wordpress, owncloud, svn put their configuration like in apache 2.2 to […]
JAX-WS: How to input and output XML AnyType
JAX-WS works in a very simple and effective way if you have defined all objects in a XML Schema definition. But sometimes you can’t define a schema for an operation because e.g. it is a generic operation and accepts or returns dynamic XML. Nevertheless we would like to use for this operation the same tool […]
Webservice with Spring Web Services 2.0 (M3)
Some time ago I had to define a web service and write the web service implementation for a spring 3.0 project. The operations needed were quite simple. In the past I have usually used axis 1 to offer web services. The results have not been very satisfying because the development has always been quite complex […]
Listen NRJ germany and finland from mediaplayer
I’m sometimes listening Radio NRJ on my PC. But for NRJ germany and finland it is not possible to have a fixed URL which can be used in a mediaplayer or MythTV. To use this channel is some kind of handshake with session ids is necessary. I wrote a perl script handling this handshake and […]
JEE: Solving the eager fetch or Open-Session-In-View problem
In the JEE architecture entities are used to transfer the data between database and business logic. An object relational mapper like hibernate or toplink the handles the transport of the data form the database table to the entity. The ORM does this not only for the requested object, also all referenced objects could be handled […]
JEE: Solving the eager fetch or Open-Session-In-View problem
In the JEE architecture entities are used to transfer the data between database and business logic. An object relational mapper like hibernate or toplink the handles the transport of the data form the database table to the entity. The ORM does this not only for the requested object, also all referenced objects could be handled […]