Skip to content

Commit

Permalink
Adding shells
Browse files Browse the repository at this point in the history
  • Loading branch information
agoncal committed Sep 20, 2013
1 parent f9f2a3f commit 2220318
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 3 deletions.
18 changes: 15 additions & 3 deletions 02-JavaOne2013/DEMO.md
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ Speaker

* In the `TalkBean` JSF backing bean
* Add the attribute `private javax.servlet.http.Part uploadedVideo;`
* Create the getters and setters of the `uploadedVideo` attribute
* Add an the following method using the shortcut `j1upload`

public String uploadVideo() throws IOException {
Expand All @@ -246,17 +247,22 @@ Speaker

* Start GlassFish
* Choose one talk, upload a video from the `Movies` folder, and upload it
* Show the video, it doesn't show it
* Restart GlassFish and show the video again
* Show the video

> SNAPSHOT-4
# Beautifying home page

## Little improvements

* Go to the `pageTemplate.xhtml` page
* Get rid of the `'forge-logo.png'`
* Change the name of the `brand` from `Javaone-javaee 7` `Java EE 7 at JavaOne`
* Get rid of the `Customize` by deleting the `<div class="nav-collapse collapse">`

## Tweeter

* Show Twitter widget https://twitter.com/settings/widgets
* Go to the `pageTemplate.xhtml` page
* At the bottom of `<div id="navigation">` before the `</div>` copy the Twitter URL :

<a class="twitter-timeline" href="https://twitter.com/search?q=%23JavaEE7" data-widget-id="379317091746078720">Tweets about "#JavaEE7"</a>
Expand All @@ -266,6 +272,7 @@ Speaker
## Duke Java EE 7

* Go to the `index.xhtml` page
* Chand the header text from `Welcome to Forge` to `Welcome to JavaOne 2013`
* In the `<h2 class="success">` change the text `Your application is running.` with `Come and Play! with Java EE 7`
* In the `<p>` block, change the content with :

Expand All @@ -278,6 +285,11 @@ Speaker
# Use WildFly

* In the `persistence.xml` use the JBoss datasource

<jta-data-source>java:jboss/datasources/ExampleDS</jta-data-source>


# It is possible to develop quickly nice and portable Java EE 7 apps


Expand Down
6 changes: 6 additions & 0 deletions 02-JavaOne2013/script/src/main/shell/snap4.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
rm -rf javaone-javaee7/src/
rm -rf javaone-javaee7/target/
rm javaone-javaee7/pom.xml

cp snapshots/javaone-javaee7-4/pom.xml javaone-javaee7/
cp -R snapshots/javaone-javaee7-4/src javaone-javaee7/src
6 changes: 6 additions & 0 deletions 02-JavaOne2013/script/src/main/shell/snap5.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
rm -rf javaone-javaee7/src/
rm -rf javaone-javaee7/target/
rm javaone-javaee7/pom.xml

cp snapshots/javaone-javaee7-5/pom.xml javaone-javaee7/
cp -R snapshots/javaone-javaee7-5/src javaone-javaee7/src

0 comments on commit 2220318

Please sign in to comment.