» Home » embedded » Page 1
Embedded ActiveMQ in Embedded Glassfish (using maven-embedded-glassfish-plugin)
by MikeT in Programming Languages

Im trying to run a ActiveMQ glassfish embedded using the maven-embedded-glassfish-plugin.


I have separately completed below tutorials, so I know the basics.
The goal is to have a setup that builds in one click and avoids 3pp libraries in svn.


1 http://www.hascode.com/2011/09/java-ee-6-development-using-the-maven-embedded-glassfish-plugin/


2 http://javad


mongodb - query embedded document - return only medium screenshots for each software in embedded collection
by Tristan in Databases

I have this simple mongo collection:


{
"_id": ObjectId("4fb176f964debef01e000000"),
"applicationId": NumberInt(1),
"screenshots": [
{
"caption": "ddd",
"images": [
{
"size": "large",
"file": {
"$ref": "File",
"$id": ObjectId("4fb176f964debef01e000001"),

Can an embedded swank-clojure repl access the program it is embedded in?
by Meg in Databases

I'm trying to embed a swank-clojure repl into my application for the purpose of connecting while the app is running to muck around with things. However, I'm having trouble figuring out how to access the enclosing environment after starting the repl.


Embedding the swank-clojure REPL is easy enough:


(ns mytest
(:use [swank.swank :exclude [-main]])
(:gen-cl

Saving embedded forms won't save embedded form's fields
by Kocur in Programming Languages

In an admin-generator, I have a sfGuardUserAdminForm which embeds a SalarieForm.
The mechanism seems to works (my fields appear, etc), but when I save, I get


SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'nom' cannot be null


"nom" is a field of my Salarie model, which is defined with the notnull attribute.


When I look at the web debug t


Junit with Embedded Glassfish fails - JMS Resource Adapter should be EMBEDDED
by Red Storm in Web Design

I'm trying to test a session bean (NetBeans 6.8, Glassfish V3). Unfortunately, the embedded glassfish is unable to start properly, as it tries to connect to a remote JMS Provider (at localhost:7676):


$ ant test
...
[junit] Mar 23, 2010 12:13:51 PM com.sun.messaging.jms.ra.ResourceAdapter start
[junit] INFO: MQJMSRA_RA1101: SJSMQ JMS Resource Adapter starting: REMOT

ScrollView embedded in TableLayout embedded in RelativeLayout with ListView outside Not Working
by hamaholic in Programming Languages

Before I added my ListView, along with changing my TableLayout height to "wrap_content" as opposed to "fill_parent", my ScrollView displayed properly. Here is my XML:


<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent" >
<TableLayout android:id="@+id/details"<

Embedded Binary Resources - how can I enumerate the image files embedded?
by youtube-api in Programming Languages

I was following the instructions in this book, chapter on Resources etc. and what I can't quite figure out is, how do I replace this:


images.Add(new BitmapImage(new Uri(@"/Images/Deer.jpg", UriKind.Relative)));
images.Add(new BitmapImage(new Uri(@"/Images/Dogs.jpg", UriKind.Relative)));
images.Add(new BitmapImage(new Uri(@"/Images/Welcome.jpg", UriKind.Relative)));

Embedded Office Application - How to know whether the app is running or the object is embedded
by bash in Programming Languages

I am adding an Excel Worksheet object inside Word. Excel has a COM addin attached to it. Any idea how one can know whether Excel is running independently or as an embedded object?


The COM Addin attached to Excel loads when the embedded Excel object is activated (double-clicked) inside Word. I am looking for some kind of a property or a parameter in OnConnection(...) or other method


How do I declare a embedded struct in C# like a embedded record in delphi?
by lockdown571 in C & C++ & C#

I have a embeded record in delphi like this:


TKernel = packed record
State: Integer;
end;
TKernels = array[0..19] of TKernel;
TShell = packed record
Kernels: TKernels;
end;

In this,


SizeOf(TShell) = 20 * SizeOf(TKernel).

But If I use C#:


struct Shell
{
Kern

In JPA Is an Entity has access to the Embedded of its Embedded object
by dbrews in Web Design

Is an Entity has access to the Embedded of its Embedded object.


Eg:-


@Embeddable
Address{
@Embedded
protected AddressResearchChangeActivity
}
ClaimantAddress {
@Embedded
private Addres;
}

So can ClaimantAddress can assess to the AddressResearchChangeActivity OR When we save ClaimantAddress will the AddressR


Next
Privacy Policy - Copyrights Notice - Feedback - Report Violation - RSS 2014 © bighow.org All Rights Reserved .