Showing posts with label Hibernate. Show all posts
Showing posts with label Hibernate. Show all posts

Tuesday, April 13, 2010

Just installed Flash Builder 4

After some waiting time I have finally received email from Adobe and I could install Flash Builder 4. It feels so exciting to see what they have improved and to see how Eclipse behaves. I will start with installing WST so that I can develop Java code as well.

Now when I have everything done its time to start developing. And my first project will be a simple CRUD project in Flash Builder 4 using Java as back-end and Hibernate to communicate with MySQL. I hope that this will work the same way as in Flex Builder but I have my doubts.


So my first project is called "Test" . Not a good name but who cares. I wanted to see how this looks like and what packages I will get. And I can say that it is a little different but not much from Flex Builder.

My next post will be once I have time to post it and it will be with some screen shots from my CRUD project.

Thursday, March 11, 2010

Presentation day for StudentRegistration

Today is the presentation day and we have presented only one part of our application.
We realized that 2 weeks is not enough time to be done with this time of project.

What we have done:
We build the Flex Project, then we used BlazeDS to connect flex part and java code.
When we had this part done so that we can only create simple java objects and show
them in flex then we moved one step further and connected java with database using Hibernate. And that worked but we had many issues with Hibernate since it works as it wants. So we wouldn't recommend Hibernate but if you have to then you have to.

Here is a small example of our application.


Saturday, March 6, 2010

Student Registration Application

We have a new assignment. And that is to build a Student Registration Application.
My group has chosen to use JAVA as back-end and to connect Flex part and JAVA part using BlazeDS. This is second week and we are having some problems with JPA and Hibernate. The problem is that we can't make @OneToMany annotations to work and we are kind of stuck for the moment.

If there is anyone out there reading my blog and knows how to solve this or might have an idea of how JPA should be used in JAVA when you want to connect to Flex please send me an email or simple write a coment.

P.S. I know that solution is very simple.