|
|
|
3. Then after, right click on the main project
folder “HibernateExample”, go to New and
select Package option. The type the full package
name roseindia.tutorial.hibernate as we have
made it for class files. Click the Finish button.
4. Now right click on the created package, go
to New and select Class option. Then give class
name as Contact to the Name command line,
and click the Finish button. Then write the code
for the Contact class to add getter & setter methods.
|
|
5. Repeat the 4th step, and give the class
name “HibernateExample”. Click on the “public static void main(String []args)”
checkbox, and click the Finish button. Then
write the code for the HibernateExample class to write the main method.
6. Now go back to the main project “HibernateExample”, and copy the lib folder
to that project. Then right click to that
project, go to the Build Path, and select Configure Build Path. Then after select the JRE System Library folder, and click the
Add JARs button.
7. Then after open lib folder and select all jar files to be configured. Then click ok button to
close the dialog.
|
|
Dec
2007 | Java Jazz Up |33 |
|
|
|
View All Topics |
All Pages of this Issue |
Pages:
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30,
31,
32,
33,
34,
35,
36,
37,
38,
39,
40,
41,
42,
43,
44,
45,
46,
47,
48,
49,
50,
51,
52,
53 ,
54,
55,
56,
57,
58,
59,
60,
61,
62,
63 ,
64,
65 ,
66 ,
67 ,
68 ,
69 ,
70 ,
71 ,
72 ,
73 ,
74 ,
75 ,
76 ,
77 ,
78 ,
79 ,
80 ,
81 ,
82 , Download PDF |
|
|
|
|
|
|
|
|
|