Building a test application just to learn about GAE/J and things are working fine (so far), but I am wondering if I am veering off in a wrong direction. Here is a simplified statement of the situation...
1. I have an entity class for an entity A public class A implements Serializable { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Key key; 2. In a JSP page, I display a list of As, with a link to show the full details of an "A". This link is generated by the JSTL: <a href="/show?aKey=<c:out value="${a.key.id}" />"><c:out value="$ {a.key.id}" /></a></td> 3. In the show servlet, I have: Long requestKey = Long.parseLong(req.getParameter("aKey")); Key aKey= KeyFactory.createKey("A", requestKey); A a = em.find(A.class, aKey); As mentioned, it all works fine. I have used this for both entities with no parents (as above) and entities owned by a parent. It just seems odd to me that I am using something like ${a.key.id} rather than ${a.key}, but ${a.key} gives me the key.toString() value rather than the KeyFactory.keyToString(key) value. Also, since I am using JSTL, I don't know how to use KeyFactory (without using a JSP scriptlet, which I try (for no particular reason) to avoid. Is the above ok/safe/fine - or am I abusing GAE and generating major negative GAE karma which will come back to bite me in the future? :) Thanks! RB -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.