During learn and experience

۳ مطلب در آبان ۱۳۸۶ ثبت شده است

Create and run GWT project in Netbeans without using plugin

Hi friends

1. Create a directory named GWTSample (I will refer to it as GWT_Sample_DIR).
2. In the command prompt go to the GWT home and run following instruction :

applicationCreator.cmd -out GWT_Sample_DIR com.saeed.SampleGWT.client.HelloGWT

3. The above step will create the folder structure and generate several files in the GWT_Sample_DIR.
4. In the Netbeans create Java Project with Existing Source.
5. In the step 3 add GWT_Sample_DIR directory in source package folder.

6. Add 3
jar file from GWT home .

You can use Open in System like bellow image to use GWT .cmd file.

Tip :

Don’t run project from Run button in Netbeans for running project you must using xxx-shel.cmd.

Don’t care to package error in HelloGWT.java file .

please insert ur comment.

bye all

۲۵ آبان ۸۶ ، ۱۱:۵۱ ۰ نظر موافقین ۰ مخالفین ۰
سعید زرین فام

What is difference between Discipline & Workflow?

Hi friends

RUP mentions that Discipline is a concept for organizing Software Engineering Process and says a discipline is a collection of related activities that are related to a major 'area of concern' within the overall project and it helps to us for better understanding and easily management the process .
But RUP mentions that Workflow is a tool for expressing Software Engineering Process and a Workflow is a sequence of activities that produces a result of observable value . Workflow is useful for better understanding our task .

please insert ur comment .

۲۰ آبان ۸۶ ، ۲۱:۲۵ ۰ نظر موافقین ۰ مخالفین ۰
سعید زرین فام

Using @Lob in JPA

Hi friends

Sometimes we want to persist a java object or a binary file using JPA that require a lot of memory . for this purpose we can use @Lob annotation . for example we want to store an java object in the database .
in the Entity we must declare a property like below :

private Serializable ob;

then we set ob property with my java object and then persist Entity .
When using @Lob it is best to mark the fetch type as lazy.

please insert ur comment

bye all
۱۴ آبان ۸۶ ، ۱۴:۴۰ ۰ نظر موافقین ۰ مخالفین ۰
سعید زرین فام