Skip to main content

Home/ Groups/ Google AppEngine
1More

Jeremy's Blog: JSTL on Google App Engine - 0 views

  • 01<%@ page contentType="text/html" pageEncoding="UTF-8" %>02<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>03 04<!DOCTYPE html>05<html>06 <head>07  <title>Maintenance</title>08 </head>09<body>10 <p>Hello from Spring ${user}</p>11 <p>AuthDomain = ${user.authDomain}</p>12 <p>Nickname = ${user.nickname}</p>13 <p>Email = ${user.email}</p>14 <p>UserId = ${user.userId}</p>15</body>16</html>
1More

[appengine-java] Re: Any examples for low level datastore? or suggest a - 0 views

  • I believe that Twig is the only library that can store objects with entire collections embedded as components. So the Columns could actually be stored in the same entity as the Table. This means that querying or reading Tables is _much_ faster. If the tables are read more than written this would be ideal. Docs are a bit light but basically you just define an embedded collection like this: class Table { @Key String name; @Component Collection<Column> columns; } and thats it! The columns are then stored as a multi-valued property so you can even query properties them like "show all tables with a column named 'age'".
« First ‹ Previous 201 - 220 of 592 Next › Last »
Showing 20 items per page