install the GraniteDS wizard and builder plugins in Eclipse
Group items matching
in title, tags, annotations or urlBruce Phillips Blog on Java, ColdFusion, Flex and Spry: Java EE 6 Example Projects For ... - 0 views
15More
shared by kuni katsuya on 05 Jun 12
- No Cached
Quick start with GraniteDS | Granite Data Services - 0 views
granitedataservices.com/...quick-start-with-graniteds
graniteds tutorial eclipse-plugin quickstart example

- ...12 more annotations...
-
mvn archetype:generate -DarchetypeGroupId=org.graniteds.archetypes -DarchetypeArtifactId=graniteds-tide-spring-jpa-hibernate -DarchetypeVersion=1.1.0.GA -DgroupId=org.example -DartifactId=springgds -Dversion=1.0-SNAPSHOT
-
With the Eclipse Maven integration (the M2E plugin), you can simply choose one of the archetypes when doing New Maven Project.
13More
shared by kuni katsuya on 21 Nov 12
- No Cached
VineetReynolds / Java EE 6-Galleria / wiki / DataModel - Bitbucket - 1 views
bitbucket.org/...DataModel
javaee6 example jpa ejb jsf junit4 arquillian DomainDrivenDesign ddd DataModel

-
Many users can be associated with a group
- ...5 more annotations...
-
Users can have many Albums
-
Album containing Photos
-
Physical Data Model
10More
VineetReynolds / Java EE 6-Galleria / wiki / Home - Bitbucket - 0 views
-
captures various project design decisions to aid in understanding the design choices made during the design and construction of the application.
- ...7 more annotations...
25More
Anemic domain model - Wikipedia, the free encyclopedia - 0 views
-
objects containing only data
-
objects containing only code
- ...14 more annotations...
-
Benefit
-
Liabilities
-
Logic cannot be implemented in a truly object-oriented way
-
validation and mutation logic is placed somewhere outside
-
Necessitates a service layer when sharing domain logic across differing consumers of an object model.
2More
The Java EE 6 Tutorial: Advanced Topics, Fourth Edition > Part III: Web Services > Chap... - 0 views
15More
cygwin permissions bug on Windows 8 » Vineet Gupta - 0 views
-
Permissions 0660 for '/home/Vineet/.ssh/id_rsa' are too open. It is required that your private key files are NOT accessible by others. This private key will be ignored. bad permissions: ignore key: /home/Vineet/.ssh/id_rsa Permission denied (publickey).
- ...12 more annotations...
43More
TH03-EP01-US001 - Media Management, Media Upload, Media Item Fields (Groomed BE21, FE8)... - 0 views
- ...26 more annotations...
-
definition
-
Rights of owner
-
Rights expiry date
-
Syndication
-
Category
-
Seasonality display rules
-
Associated with
-
can be viewed by users
-
Status
-
Aspect ratio
-
File size
-
File name
-
is this the original name of the file that was uploaded? if not, and it supposed to be the medlib file name, imho, should not be exposed. the medlib file name should be immaterial to the ecm user and generally, vfml should treat them as opaque to allow future changes without customer dependencies the only time an ecm user should care about a 'file name' is when they're uploading or downloading. but... once the file is uploaded, who cares what the original file name was? it will be recorded, but should be inconsequential to anything since it would never, ever be referred to again on download, (save as...) the original file name *could* be used, but any file name is just as good, since the downloader would also be given the option to rename the file
-
-
Media units consumed
Skipping Test - 0 views
10More
Comma-separated values - Wikipedia, the free encyclopedia - 0 views
- ...7 more annotations...
-
but depending on the system's regional settings, it may expect a semicolon as a separator instead of a comma, since in some languages the comma is used as the decimal separator
34More
A proper way for JPA entities instantiation « Paul Szulc's Blog - 0 views
- ...31 more annotations...
-
And you shouldn’t really care, all that is important is that UserService depends on dao and webservice object.
-
calling new User(“someName”,”somePassowrd”, “someOtherName”, “someOtherPassword”) becomes hardly readable and maintainable
-
Instead of making the desired object directly, the client calls a constructor (or static factory) with all of the required parameters and gets a builder object. Then the client calls setter-like methods on the builder object to set each optional parameter of interest. Finally, the client calls a parameterless build method to generate the object, which is immutable. The builder is a static member class of the class it builds.
6More
Migrating from Spring to Java EE 6 - Part 4 | How to JBoss - 0 views
-
discuss the rationale for migrating your applications from Spring to Java EE 6 and show you real examples of upgrading the web UI, replacing the data access layer, migrating AOP to CDI interceptors, migrating JMX, how to deal with JDBC templates, and as an added bonus will demonstrate how to perform integration tests of you Java EE 6 application using Arquillian
-
There is also an interesting Arquillian Persistence extension that integrates DBUnit in Arquillian where you can define your test data externally
- ...3 more annotations...
-
JDBC Templates hardly give any abstraction on top of the database and you’re on your own for Object Relational Mapping. We strongly advise to use JPA wherever possible; it gives portability by abstracting most of the database specific SQL that you would need, and it does all the hard and painful work of object mapping
JBoss Maven Plugin - Introduction - 0 views
jboss-jdf/jboss-as-quickstart · GitHub - 0 views
24More
Data Source Configuration in AS 7 | JBoss AS 7 | JBoss Community - 0 views
-
This annotation requires that a data source implementation class (generally from a JDBC driver JAR) be present on the class path (either by including it in your application, or deploying it as a top-level JAR and referring to it via MANIFEST.MF's Class-Path attribute) and be named explicitly.
- ...21 more annotations...
-
this annotation bypasses the management layer and as such it is recommended only for development and testing purposes
-
managed by the application server (and thus take advantage of the management and connection pooling facilities it provides), you must perform two tasks. First, you must make the JDBC driver available to the application server; then you can configure the data source itself. Once you have performed these tasks you can use the data source via standard JNDI injection.
-
recommended way to install a JDBC driver into the application server is to simply deploy it as a regular JAR deployment. The reason for this is that when you run your application server in domain mode, deployments are automatically propagated to all servers to which the deployment applies; thus distribution of the driver JAR is one less thing for administrators to worry about.
-
Note on MySQL driver and JDBC Type 4 compliance: while the MySQL driver (at least up to 5.1.18) is designed to be a Type 4 driver, its jdbcCompliant() method always return false. The reason is that the driver does not pass SQL 92 full compliance tests, says MySQL. Thus, you will need to install the MySQL JDBC driver as a module (see below).
-
<module xmlns="urn:jboss:module:1.0" name="com.mysql"> <resources> <resource-root path="mysql-connector-java-5.1.15.jar"/> </resources> <dependencies> <module name="javax.api"/> </dependencies></module>
-
define your module with a module.xml file, and the actual jar file that contains your database driver
-
define any dependencies you might have. In this case, as the case with all JDBC data sources, we would be dependent on the Java JDBC API's, which in this case in defined in another module called javax.api, which you can find under modules/javax/api/main as you would expect.
-
<datasource jndi-name="java:jboss/datasources/MySqlDS" pool-name="MySqlDS"> <connection-url>jdbc:mysql://localhost:3306/EJB3</connection-url> <driver>com.mysql</driver>
-
<drivers> <driver name="com.mysql" module="com.mysql"> <xa-datasource-class>com.mysql.jdbc.jdbc2.optional.MysqlXADataSource</xa-datasource-class> </driver> </drivers>
-
jboss-7.0.0.<release>/domain/configuration/domain.xml or jboss-7.0.0.<release>/standalone/configuration/standalone.xml
1More
Getting Started Developing Applications Guide - JBoss AS 7.1 - Project Documentation Ed... - 0 views
JBoss Developer Framework · - 0 views
softwaremill/softwaremill-common · GitHub - 0 views
10More
shared by kuni katsuya on 01 Sep 12
- No Cached
Managing Project Permissions - JIRA Latest - Atlassian Documentation - Confluence - 0 views
confluence.atlassian.com/...Managing+Project+Permissions
security authorization PermissionScheme example Jira
