» Home » embedded » Page 1
Embedded ActiveMQ in Embedded Glassfish (using maven-embedded-glassfish-plugin)
Category : 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


View Replies


mongodb - query embedded document - return only medium screenshots for each software in embedded collection
Category : 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"),

View Replies


ScrollView embedded in TableLayout embedded in RelativeLayout with ListView outside Not Working
Category : 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"<

View Replies


Can an embedded swank-clojure repl access the program it is embedded in?
Category : 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

View Replies


Embedded Binary Resources - how can I enumerate the image files embedded?
Category : 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)));

View Replies


Junit with Embedded Glassfish fails - JMS Resource Adapter should be EMBEDDED
Category : 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

View Replies


Saving embedded forms won't save embedded form's fields
Category : 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


View Replies


How do I declare a embedded struct in C# like a embedded record in delphi?
Category : 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

View Replies


Embedded Office Application - How to know whether the app is running or the object is embedded
Category : 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


View Replies


Referencing embedded resources from an embedded resource
Category : Programming Languages

I am using a WinForms browser control to display some content from a html file I have embedded as resource which works fine.


I want to embed some scripts and stylesheets in my application now, but can't figure out how to reference other embedded files from the html page, if at all possible.


My current solution is to load the resources and add them to the browser control'


View Replies


Next
2012 / 2017 Copyrights BigHow , All Rights Reserved .