|
Dear
Software Developers,
This CPTTM Software
Developer newsletter is to bring
useful news to
you, software developers in Macau, for references without obligations,
so that you can do your jobs easier and better! Hope you like it. if
you'd like to unsubscribe or recommend your friends to
subscribe, just email me at kent@cpttm.org.mo.
Old
issues are available here.
Topics
in this issue:
JPA
(Java
Persistence API)
In
the past people commonly used
Hibernate, JDO or Oracle TopLink to map their Java
objects to database
records. This greatly enhances developer productivity.
However, their code would depend on a specific product
(e.g., Hibernate). To solve this problem, now there
is a standardized
API for this purpose from SUN as part of the Java EE platform: the
JPA (Java
Persistence API). You can considered a standardized version of the
Hibernate API.
To
learn more about it, you can join our
free Introductory
workshop on Object-Relational Mapping (O/R Mapping): JPA &
Hibernate or our Reducing
your database access effort with JPA & Hibernate
course.
- Visual
page editing for JSF: It works.
It
is a two-way tool: You can also change
the code and the visual will
be updated automatically.
- Quick
access: Press Ctrl-3 to open
a window or a command in Eclipse by typing the window name or
command name. Many people find it useful.
- Mylyn:
It practically creates a subset of your workspace for a task (e.g., a
bug report). That is, if you choose to work on a particular bug, it
will prioritize the display of the classes and files
related to that bug so that you don't have to look around to
locate those files. How does it know which files are related to that
bug? Initially it doesn't know, but when you start working on the bug,
Mylyn will learn from you. I haven't actually used it myself,
but it sounds quite useful if you're mainly doing maintenance work and
using a supported bug tracking system (e.g., Bugzilla, Trac or JIRA)..
MyFaces
or the Reference Implementation?
If you'd like to
use JSF, should you choose Apache MyFaces or SUN's Reference
Implementation (RI)? The information that I gathered
suggests that the RI is more stable (after all it is the RI)
but has no extra features beyond the JSF specification (again,
as it is the RI). MyFaces has features not found in the JSF
specification but there are quite some bugs (some
quite significant) in it as of
now (MyFaces v1.2) as it is a new release supporting JSF 1.2.
Upcoming courses
for software developers
In addition, there are some courses your
kids may enjoy:
Feedbacks
Any
questions, ideas or experiences to share? Contact me at
28781313 or kent@cpttm.org.mo. We also
have two other newsletters: CIO newsletter
and Network
administrator newsletter,
your friends may like to
subscribe.
Until
next time,
Kent
Tong
|