SessionBean calls EntityBean by boot object or remote interface, the application layer (client) can call the EntityBean remote interface through the sessionBean, and the remote interface can call the EntityBean object to perform database operations. SessionBean is mainly business rules, and EntityBean is mainly data storage, persistence. Both beans require three classes, EJB methods, Find methods, and Create methods. # posted by dfar @ 2004-03-28 23:51 Comments (0)
Internationalized procedures (LOCALE)
2004-3-27 Saturday (SATURDAY)
Write the program to consider the problem of internationalization, the specific method is as follows: Each language should have a corresponding proPerities file, and you can display information according to the language when Load information. # posted by dfar @ 2004-03-28 23:46 Comments (0)
JNi
2004-3-27 Saturday (SATURDAY)
1, using JNI to call SLIK of the local operating system (a cross-platform C API, which simultaneously provides local performance on Windows and UNIX), so you can do a GUI interface with a local appearance. 2, if the module is particularly emphasized, you can call the C / C written program with JNI. In turn, C / C can also call Java written procedures; Java: After compiling the Class file, call Javah generation * .h file and then define it with C / CPP. H head file, Java data type has corresponding conversion, plus J, tutorial address c d OpenDocument