Haven't had the time to look t them yet, anyhow, there's one trick I
really love with eclipse :
* copy snippet of code like (ctrl+c) - courtesy of
:
package org.arquillian.example;
import java.io.PrintStream;
/**
* A component for creating personal greetings.
*/
public class Greeter {
public void greet(PrintStream to, String name) {
to.println(createGreeting(name));
}
public String createGreeting(String name) {
return "Hello, " + name + "!";
}
}
* Right click on a source folder (ex. src/main/java)
* paste (ctrl+v) => Eclipse creates the java class in the proper package
from the code snippet. Ideal to follow tutorials from the web.
Le 03/04/2012 14:17, Burr Sutter a écrit :
I have been working on various demo videos to help promote JBoss
Tools
& JBDS.
Videos yet to be recorded:
- JBoss Tools - Eclipse Marketplace installation and overview
- GWT archetype & google tooling + basic Errai
- Maven with JBoss Tools/JBDS deeper dive
Also, I would love to have an "Eclipses Tips & Tricks" video - but I
have not seen those well documented anywhere, if you have pointers to
blogs or other videos for "tips & tricks" please send them my way.
Here are the videos I completed this past weekend:
1. JBDS 5 Installation, HTML5, Mobile & OpenShift
http://www.screencast.com/t/Ee2lE6KS
http://vimeo.com/39606090
This video walks you through the installation of JBoss Developer
Studio 5, uses the JBoss Central HTML5 archetype, introduces the
Mobile BrowserSim to demonstrate an application that supports both
desktop & mobile UIs and finally uploads it all to OpenShift for
testing on real devices.
2. JBDS 5 Java EE 6 Web + Arquillian
http://www.screencast.com/t/hEVHehjfhFDO
http://vimeo.com/39607154
This demonstration follows #1 that shows installation and Aerogear's
POH5 or HTML5 archetype. This demo drills into the Java EE 6 Web
Project and Arquillian for automated integration testing.
3. RichFaces 4 for Desktop & Mobile in JBDS 5
http://www.screencast.com/t/zl4QOFHm
http://vimeo.com/39607711
JBoss Central provides an archetype for RichFaces 4, also implementing
the "kitchensink" example. RichFaces 4 leverages EE 6's
BeanValidation by moving those declarative validation rules from the
server down to the client.
4. Forge Introduction in JBoss Developer Studio 5
http://www.screencast.com/t/olxrVyPy5
http://vimeo.com/39608223
Forge is JBoss's rapid application development tool. A command line
based tool that is embedded in JBoss Developer Studio 5. Run a whole
script of commands to render a complete application.
5. Hibernate Tools for DB Reverse Engineering
http://www.screencast.com/t/x6lcG2BP8jn5
http://vimeo.com/39608294
Hibernate Tools have been part of JBoss Developer Studio for a long
time - now they are integrated with Dali - and you can use Dali's JPA
Generate Entities from Tables feature. This video walks you through
how to setup the Hibernate Configuration and the JBDC connection to
allow for JPA entity generation.
Sakila H2 Database:
https://github.com/maxandersen/sakila-h2
6. Forge for DB Reverse Engineering with CRUD
http://www.screencast.com/t/aSym9aul5
http://vimeo.com/39608326
Forge also has a Hibernate Tools plugin that allows it to analyze a
database schema and produce JPA entity classes. Then Forge can use
its scaffolding feature to generate JSF2 Create, Read, Update and
Delete (CRUD) user interfaces.
_______________________________________________
jbosstools-dev mailing list
jbosstools-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jbosstools-dev