Found this gem that should save a lot of time:
sudo sh -c ‘echo sun-java6-jre shared/accepted-sun-dlj-v1-1 select true | /usr/bin/debconf-set-selections’; sudo apt-get install —yes sun-java6-jre;
http://www.davidpashley.com/blog/debian/java-license
Discussing application development and other interests, including guitars, graphics, and video games.
sudo sh -c ‘echo sun-java6-jre shared/accepted-sun-dlj-v1-1 select true | /usr/bin/debconf-set-selections’; sudo apt-get install —yes sun-java6-jre;
$('#eiAuditUI').load(eiAuditURL, function(responseText, textStatus, XMLHttpRequest) {
if (textStatus == 'error') {
$('#eiAuditUI').html('Unable to contact the Audit Tool.
');
} else {
angular.compile($('#eiAuditUI'))();
}
});
$('#eiAuditUI').show();
angular.compile($('#eiAuditUI'))(); angular.compile($('#eiAuditUI'))().$apply(); {
"33":"Bed",
"44":"Call",
"66":"Emergency"
}
getDatasets: function(ctrl) {
$xhr("GET", CURRENT_DATASETS_URL,
function (code, response) {
processDatasets(ctrl, code, response);
},
function (code, response) {
processDatasets(ctrl, code, {});
showError("Unable to load ...");
}
)};
self.datasetsArray = [
{label:"Bed",value:33},
{label:"Call",value:44},
{label:"Emergency",value:66}
]
<select name="dataset" ng:model="form.dataset" required
ng:options="ds.value as ds.label for ds in datasetsArray">
</select>
{
"MainMenu": {"Menu Item 1": 5},
"AlertMenu": {"Alert Item 1": 9,
"Alert Item 2": 2,
"Alert Item 3": 7,
"Alert Item 4": 23
},
"TrackMenu": {"Track Item 1": 55,
"Track Item 2": 1,
"Track Item 3": 8,
"Track Item 4": 6,
"Track Item 5": 10,
"Track Item 6": 3
}
}
var menuGroups = [
{group:"MainMenu", label:"Menu Item 1", value:5},
{group:"AlertMenu", label:"Alert Item 1", value:9},
{group:"AlertMenu", label:"Alert Item 2", value:2},
...
{group:"TrackMenu", label:"Track Item 1", value:55},
{group:"TrackMenu", label:"Track Item 1", value:1},
...
]
<select name="menuPage" ng:model="form.menuPage" ng:format="number" required
ng:options="mp.value as mp.label group by mp.group for mp in menuGroups">
<option></option>
</select>
An application that uses CDI must have a file named beans.xml. The file can be completely empty (it has content only in certain limited situations), but it must be present.
Include-Resource: META-INF/beans.xml=src/META-INF/beans.xml
com.sun.ejb.containers,com.sun.ejb.spi.io
@Singleton
public class TestSingleton {
public String testMySingleton() {
return "This is a test from my singleton!";
}
}
@ManagedBean
public class SingBean {
@EJB
private TestSingleton testSingleton;
@MessageDriven(mappedName = "jms/MyQueue", activationConfig = {
@ActivationConfigProperty(propertyName = "acknowledgeMode", propertyValue = "Auto-acknowledge"),
@ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue")
})
public class ExtIncMDB {
@Resource
SingBean myBean;