[jboss-cvs] jboss-seam/examples/hibernate2/view ...
Norman Richards
norman.richards at jboss.com
Mon Jul 16 12:09:54 EDT 2007
User: nrichards
Date: 07/07/16 12:09:54
Modified: examples/hibernate2/view book.xhtml confirm.xhtml
home.xhtml hotel.xhtml main.xhtml register.xhtml
Log:
remove exp dir
Revision Changes Path
1.11 +0 -13 jboss-seam/examples/hibernate2/view/book.xhtml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: book.xhtml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/hibernate2/view/book.xhtml,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- book.xhtml 26 Feb 2007 23:39:45 -0000 1.10
+++ book.xhtml 16 Jul 2007 16:09:54 -0000 1.11
@@ -182,19 +182,6 @@
<!-- sidebar -->
<ui:define name="sidebar">
-
-<h1>Workspace management</h1>
-<p>
- As you can see, Seam makes it easy to work in multiple windows or multiple browser
- tabs. But you can even switch between multiple tasks inside a single browser tab!
- The "Workspaces" section showcases this advanced feature.
-</p>
-<p>
- <a href="#" onclick="window.open('exp/workspaceExp.html','exp','width=752,height=500,scrollbars=yes');">
- How does the workspace list work?
- </a>
-</p>
-
</ui:define>
</ui:composition>
1.5 +0 -14 jboss-seam/examples/hibernate2/view/confirm.xhtml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: confirm.xhtml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/hibernate2/view/confirm.xhtml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- confirm.xhtml 10 Jan 2007 01:11:31 -0000 1.4
+++ confirm.xhtml 16 Jul 2007 16:09:54 -0000 1.5
@@ -70,20 +70,6 @@
<!-- sidebar -->
<ui:define name="sidebar">
-<h1>Back button navigation</h1>
-<p>
- When you click "Confirm", the new booking is written to the database, the
- conversation ends, and state associated with the conversation is automatically
- destroyed by Seam. After you confirm your booking, try hitting the back button
- on your web browser and clicking "Confirm" again. Seam makes it easy implement
- applications that behave elegantly in response to the back, forward and refresh
- buttons.
-</p>
-<p>
- <a href="#" onclick="window.open('exp/confirmExp.html','exp','width=752,height=500,scrollbars=yes');">
- What happens when the conversation ends?
- </a>
-</p>
</ui:define>
</ui:composition>
1.6 +0 -32 jboss-seam/examples/hibernate2/view/home.xhtml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: home.xhtml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/hibernate2/view/home.xhtml,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- home.xhtml 19 Feb 2007 08:37:31 -0000 1.5
+++ home.xhtml 16 Jul 2007 16:09:54 -0000 1.6
@@ -34,38 +34,6 @@
</fieldset>
</h:form>
</div>
- <div id="content">
- <div class="section">
-
- <h1>About this example application</h1>
-
- <p>
- This sample application demonstrates how easy it is to develop stateful web
- applications using JBoss Seam. Just register, login, and book a room to see
- Seam in action. Throughout the application you'll see popup links like
- the ones at the bottom of this page. Click them to see how the application
- works under the hood.
- </p>
-
- <p>
- Note: Please do NOT enter personal information or your credit card number in
- this sample application.
- </p>
-
- <p>
- <a href="#" onclick="window.open('exp/introExp.html','exp','width=752,height=500,scrollbars=yes');">
- What is JBoss Seam?
- </a>
- </p>
-
- <p>
- <a href="#" onclick="window.open('exp/loginExp.html','exp','width=752,height=500,scrollbars=yes');">
- What happens when I login?
- </a>
- </p>
-
- </div>
- </div>
</div>
<div id="footer">Created with JBoss EJB 3.0, Seam, MyFaces, and Facelets</div>
</div>
1.5 +9 -30 jboss-seam/examples/hibernate2/view/hotel.xhtml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: hotel.xhtml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/hibernate2/view/hotel.xhtml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- hotel.xhtml 10 Jan 2007 01:11:31 -0000 1.4
+++ hotel.xhtml 16 Jul 2007 16:09:54 -0000 1.5
@@ -56,28 +56,7 @@
</div>
</ui:define>
-<!-- sidebar -->
<ui:define name="sidebar">
-
-<h1>Don't kill your database</h1>
-<p>
- Keeping conversational state in memory in the middle tier is a great way to
- improve your application's scalability. It saves hitting the database every
- time we refresh a page, to re-read the data we were just looking at five
- seconds ago. By using Seam's conversation context, we get a natural cache
- of data associated with the what the user is currently doing. By nature,
- this cache has a more efficient eviction policy than the MRU-type algorithms
- used by a typical second-level data cache in an O/R mapping engine like
- Hibernate (at least for some kinds of data). Of course, you should use
- a clever combination of second-level caching and conversational data
- caching to achieve the best performance for your application.
-</p>
-<p>
- <a href="#" onclick="window.open('exp/bookingExp.html','exp','width=752,height=500,scrollbars=yes');">
- How does the hotel booking wizard work?
- </a>
-</p>
-
</ui:define>
</ui:composition>
1.5 +0 -18 jboss-seam/examples/hibernate2/view/main.xhtml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: main.xhtml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/hibernate2/view/main.xhtml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- main.xhtml 8 Jun 2007 04:20:16 -0000 1.4
+++ main.xhtml 16 Jul 2007 16:09:54 -0000 1.5
@@ -115,24 +115,6 @@
<!-- sidebar -->
<ui:define name="sidebar">
-<h1>State management in Seam</h1>
-<p>
- State in Seam is <em>contextual</em>. When you click "Find Hotels", the application
- retrieves a list of hotels from the database and caches it in the session context. When you
- navigate to one of the hotel records by clicking the "View Hotel" link, a <em>conversation</em>
- begins. The conversation is attached to a particular tab, in a particular browser window. You can
- navigate to multiple hotels using "open in new tab" or "open in new window" in your web browser.
- Each window will execute in the context of a different conversation. The application keeps state
- associated with your hotel booking in the conversation context, which ensures that the concurrent
- conversations do not interfere with each other.
-</p>
-
-<p>
- <a href="#" onclick="window.open('exp/mainExp.html','exp','width=752,height=500,scrollbars=yes');">
- How does the search page work?
- </a>
-</p>
-
</ui:define>
</ui:composition>
1.7 +95 -110 jboss-seam/examples/hibernate2/view/register.xhtml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: register.xhtml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/hibernate2/view/register.xhtml,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- register.xhtml 26 Feb 2007 23:39:45 -0000 1.6
+++ register.xhtml 16 Jul 2007 16:09:54 -0000 1.7
@@ -17,21 +17,6 @@
</div>
<div id="container">
<div id="sidebar">
- <h1>Integrated multi-layer validation</h1>
- <p>
- Robust applications need data validation in several different places. Seam integrates Hibernate Validator,
- a set of annotations for expressing data model constraints in your domain model classes. Then, these
- constraints are applied almost completely transparently at three levels of the application: by Seam when
- the user first enters data, by EJB before persisting data to the database, and, if you use Hibernate to
- generate your database schema, by the database constraints themselves. Multi-layer validation hardens
- your application and protects your data. Even better, it's self-documenting, and easy to change when
- your business rules change.
- </p>
- <p>
- <a href="#" onclick="window.open('exp/registerExp.html','exp','width=752,height=500,scrollbars=yes');">
- What happens when I register?
- </a>
- </p>
</div>
<div id="content">
<div class="section">
More information about the jboss-cvs-commits
mailing list