This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.example.rest.services; | |
import com.example.rest.data.PersonDao; | |
import com.example.rest.data.PersonNotFoundException; | |
import com.example.rest.entities.Person; | |
import java.util.List; | |
import javax.ws.rs.Consumes; | |
import javax.ws.rs.GET; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |admin2| | |
admin2.vm.box = "centos-5.8-x86_64" | |
admin2.vm.box_url = "https://dl.dropboxusercontent.com/s/sij0m2qmn02a298/centos-5.8-x86_64.box" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
firewall --enabled --http --ssh --port=443:tcp | |
install | |
url --url http://mirrors.kernel.org/centos/6.4/os/x86_64/ | |
lang en_US.UTF-8 | |
keyboard us | |
timezone America/Los_Angeles | |
timezone Europe/Berlin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"builders": [{ | |
"type": "virtualbox", | |
"virtualbox_version_file": ".vbox_version", | |
"headless": false, | |
"guest_os_type": "RedHat_64", | |
"disk_size": 40960, | |
"iso_url": "http://mirrors.kernel.org/centos/6.4/isos/x86_64/CentOS-6.4-x86_64-minimal.iso", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-javadoc-plugin</artifactId> | |
<version>2.4</version> | |
<executions> | |
<execution> | |
<goals> | |
<goal>javadoc</goal> | |
</goals> | |
<phase>compile</phase> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package nl.amis.hr.wadl; | |
import com.sun.jersey.api.wadl.config.WadlGeneratorConfig; | |
import com.sun.jersey.api.wadl.config.WadlGeneratorDescription; | |
import com.sun.jersey.server.wadl.generators.WadlGeneratorApplicationDoc; | |
import com.sun.jersey.server.wadl.generators.WadlGeneratorGrammarsSupport; | |
import com.sun.jersey.server.wadl.generators.resourcedoc.WadlGeneratorResourceDocSupport; | |
import java.util.List; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<rest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xmlns="http://xmlns.oracle.com/coherence/coherence-rest-config" | |
xsi:schemaLocation="http://xmlns.oracle.com/coherence/coherence-rest-config coherence-rest-config.xsd"> | |
<resources> | |
<resource> | |
<cache-name>Department</cache-name> | |
<key-class>java.lang.Integer</key-class> | |
<value-class>nl.amis.model.hr.Department</value-class> | |
<query> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<cache-config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xmlns="http://xmlns.oracle.com/coherence/coherence-cache-config" | |
xsi:schemaLocation="http://xmlns.oracle.com/coherence/coherence-cache-config http://xmlns.oracle.com/coherence/coherence-cache-config/1.2/coherence-cache-config.xsd"> | |
<defaults> | |
<serializer system-property="tangosol.coherence.serializer"/> | |
<socket-provider system-property="tangosol.coherence.socketprovider">tcp</socket-provider> | |
</defaults> | |
<caching-scheme-mapping> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package nl.amis.mw.reporting.mdb; | |
import com.bea.wli.reporting.jmsprovider.runtime.ReportMessage; | |
import javax.ejb.ActivationConfigProperty; | |
import javax.ejb.EJB; | |
import javax.ejb.MessageDriven; | |
import javax.ejb.TransactionAttribute; | |
import javax.ejb.TransactionAttributeType; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<servers> | |
<server> | |
<id>central</id> | |
<username>admin</username> | |
<password>password</password> | |
</server> | |
<server> | |
<id>snapshots</id> | |
<username>admin</username> | |
<password>password</password> |