Yesterday I observed an interesting situation. Let’s take a look at the following use-case:
Let’s assume we have a web project hosted in Amazon Cloud. In Amazon, we do have a simple cluster with 2 nodes and the load balancer at the front. Next, we have a domain foo.com and we are using dyndns to manage dns records for our domain. Our goal is to point our domain to the load balancer. Read the rest of this entry »
In the following article, I would like to show an approach how to map one-to-one bi-directionall two entities in Hibernate.
First of all, let’s take a look at the relation between two tables in a database:

As you can see, there is the one-to-one relation between user and user_profile tables and the user_profile table has a primary key that in fact, it is a foreign key to the id property of the user table. In other words, there is a simple use-case: one user record can have only one related user_profile record.
What the mapping looks like?
There are two classes. Read the rest of this entry »
With the latest WebORB release (.NET as well as JAVA), Midnight Coders announced the full support of the WebSockets technology. Briefly speaking, WebSockets allow bi-directional communication between server and client sides through TCP sockets. Specifically, your JavaScript client can exchange data with the server-side in the real-time! A web page can use JavaScript to establish a connection with the server and bi-directionally send data to and receive data from it without any page refreshes. It sounds awesome, doesn’t it? Read the rest of this entry »
Let’s consider the following use-case.
There is a client – server basic application. The client uses a simple remoting to communicate with the server side. The server side could be powered on WebORB, BlazeDS or any other solution. The client side is using the FLEX framework. That is it about the technology stack. Now, let’s forget about the server side and just have a look at the following client code Read the rest of this entry »
Few days ago I received a question about how to push data from the server code (C#) to the client side (ActionScript) though a messaging (publish/subscribe) destination. The server side is powered by WebORB for .NET and the client side is a Flex (or AIR) client. Read the rest of this entry »
In the following article I would like to show how to secure a Flex application which uses RPC (remote procedure calls) to communicate with the server-side. The article consists of three parts:
- A simple use-case and the problem description
- How to hack a Flex application
- How to secure it
The problem is not related to a particular product. However, the solution provided above is oriented only for WebORB for .NET. Well, let’s move forward to the step #1? Read the rest of this entry »
WebORB Management Console is a flex application to manage the installed instance of WebORB. There is a number of available features in the console, and describing them is out of the article scope. I would like to say that the unsecured and available through the internet WebORB console may be a gap in the system security. So, how you can secure the console? Easily! Read the rest of this entry »
Fortunately, I opened for myself incredible Apache FOP. So, I did few templates and faced up a problem to specified a path of the resource for the embed-url parameter in the following part of the apache fop config:
Read the rest of this entry »
The following article shows how to push data from the WebORB server to a connected client
Obviously, if you want to push data to a particular client you must identify the client somehow. Therefore, the first issue is a client identification and it might be done in two different ways. Read the rest of this entry »
In this article I would like to show how to use RTMP on iPhone, or on iOS in general. Although the RTMP protocol known as a part of Flash Applications, in this article you will not find the ActionScript code because the client library is completely native. At the end of this article you will find all important links and the source code.
Read the rest of this entry »