Questions tagged [graniteds]

GraniteDS is an open source framework for building Flex/JavaFX/Java solution. It offers solutions for remoting, messaging, code generation and integration with Java frameworks such as Seam and Spring.

Useful resources :

Graniteds links :

78 questions
0
votes
1 answer

Error in mapping java Byte[] to actionscript ByteArray

Context - GraniteDS + JPA DataNucleus + MySQL The scenario is to store / retrieve an image in db. The issue is with the retrieval FROM db. The book cover is fetched from the db but at the flex front it shows as null. The translation from java…
0
votes
0 answers

AEM pathfield, capture the drop event

I'm working on an image field on Adobe AEM and in the editor script, I need to enable another field only when an image is selected. I'm using the change event to trigger my function that enables the other fields and it works if you type something in…
0
votes
1 answer

Graniteds - ejb.Tide - Identity.hasRole() function - invalid arguments

I have this block of actionscript code which is executed when a login is appempted. I an trying to reload a set of roles for a the user. I've added a result handler to the hasRole() method [Observer("loginAttempted")] public function…
emeraldjava
  • 10,894
  • 26
  • 97
  • 170
0
votes
1 answer

URL Inepretation in Granite TIDE with flex

I did the presentation tier analysis of my application with HTTPWatch.In that I found there are request being made with followng URL, https://hostname/path/graniteamf/amf with each of these request taking morearound 2s.I am not able to interpret…
Dwarak
  • 1
0
votes
1 answer

Why does JDO Class break Guava MultiMap index?

I'm unable to create a multimap index with the JDO Score class below. If I substitute Object[] for Score everything works fine. I thought the issue was that the Score class was not serializable? What am I missing from the Score class? Score…
user913129
  • 99
  • 2
  • 10
0
votes
2 answers

Seam FacesContextFactory

I've enabled by graniteds/tide application to use Seam security. As part of the seam setup I register this listener with the webapp org.jboss.seam.servlet.SeamListener My application now…
emeraldjava
  • 10,894
  • 26
  • 97
  • 170
0
votes
1 answer

Issues with Maven graniteds-tide-spring-jpa-hibernate archetype and Flex 4.5

I'm trying to use the Maven archetype for Spring-GraniteDS-Tide-Hibernate-jpa. I can get the project to generate correctly, however, I need to use Flex Builder 4.5. If I change the settings in the main pom.xml, to use GraniteDS 2.2.1GA, Flex SDK…
Howler9443
  • 13
  • 1
0
votes
1 answer

Advice on technology stack: Google App Engine, FLEX, GraniteDS (Tide), Java, Spring

Friends, Your technology stack is the rope that will save you or hang you. For a one man webservice startup - what kind of rope is this list? Plattform: Google App Engine, Backend: Google App Engine Datastore, Servicelayer: Java, Frontend: Adobe…
Erik
  • 41
  • 3
0
votes
1 answer

Granite DS 2.2.0 exception-converters configuration issue

Have problem with configuring exception-converters in Granite DS 2.2.0 on java side. I'm using Weblogic. Steps done: 1. Implemented ExceptionConverter 2. Added next to granite-config.xml:
Mike
  • 20,010
  • 25
  • 97
  • 140
0
votes
1 answer

How to set up the path to my custom Gas3 template?

Gas3 is not able to find my custom template. I replaced the default path: class:org/granite/generator/template/remoteBase.gsp With my file, like this: class:myPackage/remoteBase.gsp But every time Gas3 tries to create the .as of my classes I get…
GxFlint
  • 294
  • 3
  • 15
0
votes
3 answers

GraniteDS can't convert from actionscript class to java bean...how to solve this?

I have a Entity bean and it's corresponding ActionScript class when i transfer an object of that class i got that error: 13:54:07,750 ERROR [AMFMessageFilter] AMF message error org.granite.messaging.amf.io.AMF3SerializationException at…
Fuzzix
  • 23
  • 4
0
votes
1 answer

Flash SWF On Solaris Won't Load When Also Loading Apache APR Library in JBoss

UPDATE + SOLUTION =============================== Sorry to be posting the solution here instead of in a comment, but something about my work's filtering doesn't allow the comment functionality to work for me. I ended up using the -b 0.0.0.0 property…
Alyssa
  • 11
  • 2
0
votes
2 answers

RTMP better than Comet?

I'm coding a Flex application and I have to choose a good backend configuration for my needs. ( real time data push ) I wanted to know if RTMP is better than Comet http long polling ? In fact, I want to compare GraniteDS and Red5... Both are…
Georges
  • 11
  • 3
0
votes
1 answer

Problem sending Date from Flex-AS3 to Java EJB Service

I have a ValueObject in Java Source Code with a java.util.Date or java.sql.Date attribute and in Flex-AS3 have a DTO mapped by [RemoteClass] using a Date AS3 Type. When I set a date in Flex with 2010-09-05 format YYYY-MM-DD in DateField component…
0
votes
1 answer

How do you use Parsley with GraniteDS in Flex?

I want to use the Parsley framework and I want to use GraniteDS for remoting. As of 2.1, GraniteDS generates AS3 service classes from your Java code as local proxies, and I want to use these classes in Parsley. I can successfully inject the service…
Fletch
  • 4,829
  • 2
  • 41
  • 55