|
From: Peter S. <co...@pe...> - 2007-11-23 15:50:07
|
IMPORTANT - CHANGES IN LMAPPLETSERVER_ADDONS
- (PJS) EntityManager in JNDI is JBoss specific - you should package
lmappletserver-addons with a persistence.xml instead
This specific persistence.xml should also reference entitybeans (by
classname) that it uses from other ejb modules.
- (PJS) According to the EJB3 persistence specs - fqn should not be used in
from clause (even though hibernate permits this)
Fixes in MetaDataManagerBean to satisfy this
- (PJS) getMetaDataLogEntries: sql1 statement contained also : "group by
mdle.log_id", which I removed cause of toplink, but don't know yet the
consequences of this
The AirportWatch project is now showing data :) Runs completely in netbeans
with glassfish and javadb (from the readme.txt file):
NOTE: This project doesn't deploy with the "Undeploy and deploy" menu option
in netbeans.
This is due to lmappletserver-addons.jar which is not exploded, and
glassfish
doesn't like the combination of compressed and exploded deployments.
Hence, to deploy this you should use glassfish web or shell interface and
deploy
the packaged AirportWatch.ear in the dist folder.
When running for the first time - start with:
http://localhost:8080/AirportWatch-war/ImportServlet
This will import test data into the application
Then go to:
http://localhost:8080/AirportWatch-war/
to see test data....
Stuff still not functioning:
- Searching doesn't actually work (only lists data when no search criteria)
- Airports are listed twice - may be because of "group by clause" removal in
lmappletserver-addons??
|