Flex :: Combining Ogre3d's Hikari And BlazeDS?
May 21, 2010
I am trying to load a swf into an Ogre3d/Hikari application and that swf uses BlazeDS to communicate with a Tomcat server. The swf is from another project that is used in a browser environment. So, the swf is served from Tomcat to the client's browswer. It seems like there are two main issues. The first is a sandbox issue with using the swf in a different sandbox type than a browser environment. The other issue seems to be setting up the BlazeDS message broker and the other communication channels and endpoints. As far as both of the issues are concerned, it seems like the Hikari application is similar to an Adobe Air application and can use similar approaches. Does this seem like a reasonable approach?
View 1 Replies
Similar Posts:
Mar 2, 2012
I have an embedded image and the class name to be userd in source tag is a combination of 2 variables, how to do this, below is an iadea of what i am trying to do:
[Embed (source="assets/image11_a.jpg")] public static const 11_a:Class;
var first_part:String="11";
var second_part:String="a";
and in mxml
<s:Image width="100" height="100" source="{first_part+second_part}"/>
above is just a small simplified example of what i am trying to do, actually the variables are getting populated from list.Basically i want to combine variable names to form the embedded image class name to be used in source of spark image.
View 1 Replies
Apr 9, 2011
I'm developing a web application (client in Flash Builder 4, server in Eclipse 3.6 + Tomcat 7 + Spring 3 Framework). How do I make the Flex client automatically deploy in the Tomcat server and use BlazeDS messaging and remoting more seamlessly?
View 14 Replies
Apr 15, 2012
What material did you use to learn Flex/Air itself, and with ColdFusion + BlazeDS/LCDS?
View 7 Replies
Apr 16, 2011
Am facing issue with session timeout. Say for instance, the user logs into the application and he waits for 30 mins (session timeout time) and then tries to get a service through remote object.Ideally speaking, since the session has timeout the user shouldn't be able to hit the remote object, but this is happening the other way round.
[Code]...
View 1 Replies
Jul 20, 2011
The question says it. Does anybody know the answer to this? We're running into problems when 3rd-party cookies are disabled.
View 1 Replies
Dec 21, 2010
what I need to do is combine 5 arrays with 5 individual strings (which have come from a JSON webservice) into one single list item in FlashBuilder Burrito. [code]I've pulled these out successfully and each one traces in the debugger, although as I need them all in the same list I'm struggling to establish them as a dataprovider together.If I push the strings and arrays together it is impossible to read properly, as the main Titles are at a different level to any descriptors for the products which are in the arrays.
View 1 Replies
Aug 19, 2009
Which is the best way to integrate existent spring-MVC-Project with flex. I'am using Spring-2.5 lib with annotations. e.g my list controller:
[Code]...
I have also a colors.jsp which displays the colors. Now I would like to integrate flex as an UI-Layer. I only need to integrate the Spring-View with shown RequestMappings above.
View 2 Replies
Apr 21, 2010
I'm building modular application with 2 modules which share common vo: ShopRegionVO
This vo is also a BlazeDS entity and is mapped to a remote java object. When shell loads first module everything is ok. The second module is a list of ShopRegionVOs and item change is handled with the following code:
sendNotification(CoverageConstants.SET_SELECTED_REGION_COMMAND, ShopRegionVO(List(e.target).selectedItem));
The exception is thrown right here:
Main Thread (Suspended: Error #1034: Type Coercion failed: cannot convert model.vo::ShopRegionVO@14961809 to model.vo.ShopRegionVO.)
view.list::RegionListMediator/onChange
flash.events::EventDispatcher/dispatchEventFunction [no source][code].....
View 1 Replies
Sep 7, 2010
I'm using Flex 3.5, BlazeDS 3.2.0.3978 and EJB3 for backend. There are two RPC which are important to the problem. The first call will get a list of ThirdParty objects, this works fine. The second call happens when the user clicks on a ThirdParty, the details of this object (lazy collections) are retrieved. A single object is returned with most fields serialized. I say most, because for some reason, 4 boolean fields are not serialized and are put on false by flex by default.[code]I've set blazeDS logging to debug and all fields but these booleans are shown in the output. Next, I've tried stepping through the serialization process but it's fairly easy to get lost in there.
View 3 Replies
Sep 28, 2010
Do you know any free alternative for BlazeDS? It's working fine here, but we're looking for alternatives to check wich one is better.
View 3 Replies
Jan 24, 2011
I want to use Spring BlazeDS Integration.I write them like this.
[web.xml]
<servlet>
<servlet-name>flex</servlet-name>
[code].....
View 2 Replies
Mar 30, 2011
The task is to try to connect directly to a stateless EJB deployed on Glassfish. I have already done this via Web Service and I can also connect to the EJB by calling a remote java object which uses JNDI to find and load the bean. What I cannot do is directly connect to the EJB with Blazeds. I am using EBJ3Factory BY Ryan Norris (downloaded from adobe site) as follows;
[Code]....
View 1 Replies
May 2, 2011
I try to start JEE, so after studying the frameworks avalaible for this architecture, i choose to use the following one: Flex, BlazeDS, Spring, Hibernate, mysql. i will work with eclipse or STS.The problem is that, after trying different project all over web tutorial, i wasn't able to create an architecture that gather all the last versions off technologies i choose.SO, can someone send me a links which refer a tutorial where it's preferable that the source code is available to download, and it gives the explanation about what is done.
View 2 Replies
May 20, 2011
My name is Rahul.I am new to flex. I am trying to integrate flex with blazeds using java. I have written some code as per my knowledge. But it is not connecting to database. I am pasting my code here.Please look into this and let me know if i have done any mistakes over there:
[Code...
If i try to execute the Feedback.mxml then i am getting "Sorry your feedback is not entered" as output.I dont know where the problem is.I think flex is connected successfully but problem is in java code.
View 2 Replies
Dec 12, 2011
I've downloaded BlazeDS 4 and installed in on my Tomcat server. How can I make it to listen to port distinct from 8080? I change port in channels configuration in services-config.xml, and my client application sends requests for new port, but they failHow can I make server listen to custom port?
View 2 Replies
Mar 16, 2012
I'm starting a flex+blazeds project. First I coded some server classes, and modified xmls (in WEB-INF). Now I want to test it with client. There (in Flash Builder) it's needed to specify path to folder where server lives. The problem is that I cannot find it. In the same time [URL] is found in browser.
View 1 Replies
May 15, 2009
i have a problem about RDS and blazeds, when i use flash builder 4.5 to connect the server data, there is a rds error (403 or 404),but i can ping the http://10.25.129.151:8400/testdrive/test/" on Chrome or ie. So i don't know how to configure the rds in flash builder 4.5 or i will must configure others?
View 1 Replies
Aug 14, 2009
I using messaging in Flex-BlazeDS. When the AIR client starts it connects to a destination and a specific subtopic. During runtime, the user can use a combo box to subscribe to different sets of live data coming in, this combo box change event changes the subtopic by:
messagingConsumer.subtopic = subtopicComboBox.selectedLabel;
messagingProducer.subtopic = subtopicComboBox.selectedLabel;
messagingConsumer.subscribe();
A message is then sent to the server with the new subtopic name as well so the server knows to send to a new subtopic. This whole mechanism seems very glitchy and I'm wondering if anyone else has tried this and succeeded? Most times it works the first time and the after that either the messages dont get sent or I get server errors like:
[BlazeDS]Endpoint with id 'my-streaming-amf' cannot service the streaming request as either the supplied FlexClient id 'B07F3285-A408-816E-4697-F13F9B17E32C is not valid, or the FlexClient with that id is not valid.
Also sometimes when I change subtopics it will cause the FlexSession and FlexClient to be destroyed instead of just the MessageClient. Once that FlexSession gets destroyed it messes up all kinds of things including logging out the user.
Perhaps I'm over complicating things by changing subtopics to listen to different sets of live data, if anyone has any other ideas on how to accomplish dynamic changing of destinations or subtopics please list those as well.
View 1 Replies
Sep 30, 2009
When I pass a Actionscript Value Object that contains a Date variable using BlazeDS it is not getting transferring as a java.util.Date object correctly. When the setBaseDatefunction gets called on the Java side the baseDate value is NULL. The weird thing is if I rename the variable on the Java side to private Date date; and create a public void setDate( Date date) function it works. The problem is I need to pass 2 different dates so I can't uses this work around.
Here are my 2 classes:
AS3
package com.shua.flex.valueobjects {
[Bindable]
[RemoteClass(alias='com.shua.valueObjects.myVO')]
public class myVO {
public var label:String;
public var endDate:Date;
[Code] .....
View 3 Replies
Oct 8, 2009
I have java remoting services(more then 25) on my (Tomcat BlazeDS)server which are called from my Flex client application.I need to collect stats on them like how much time each service is taking(total time).There are three approaches I can do this in my opinion(may be more)
1) change each service and add timer at beginning and ending.bad practice
2) I can also use AOP but I feel its an over kill for this requirement.over kill
3) servlet Filter. Good option
View 3 Replies
Jan 25, 2010
I have a problem using Flex with BlazeDS on a Tomcat 5.5 through a Proxy (Apache). I already searched for it but didn't find answers which solved my problem. I hope you guys can help me out. Our scenario is the following: Flex-App using BlazeDS to communicate with our Dataservice on a Tomcat 5.5.The Webapp is balze enabled and the services config contains channel definitions like the following:
<channel-definition id="my-amf" class="mx.messaging.channels.AMFChannel">
<endpoint url="http://xxx.xxx.xxx.xxx:8180/myDataService/messagebroker/amf" class="flex.messaging.endpoints.AMFEndpoint">
</channel-definition>
[Code]...
View 2 Replies
Feb 24, 2010
What's the best way to secure a Flex-BlazeDS application? I've googled it an several solutions came up.UPDATE after question from jsight:Flex would login, so on the RemoteObject I'll set Credentials I don't know if there comes authentication and authorization with BlazeDS (WebORB for instance does and WebORB looked at BlazeDS for their product) SSL not needed 've seen some links on the internet talking about spring security, so I'll check that out.
View 1 Replies
Mar 22, 2010
I've followed the getting started for BlazeDS. I'm making changes to the Flex code using Flex Builder 3, but I just can't get the changes to show up when I refresh the page on my client. Server and client are separate physical machines, I've even re-started the server hardware. One curious thing, even when I re-started the server I didn't have to re-login to the Tomcat manager page
View 1 Replies
Mar 23, 2010
I developed an application using flex+java+blazeds with tomcat that provide flex enviroment.I want to deploy my application using tomcat but I can't, how can I deploy my app?
View 2 Replies
Jun 15, 2010
I am using BlazeDS. Does anybody know how to disconnect client from server? Client must be informed about this event.
View 1 Replies
Jul 28, 2010
So I know BlazeDS's standard MXML syntax for creating remote objects. Ex:
<s:RemoteObject id="sim" destination="SimulationWebService" >
<s:method name="getAvailableTargetNames" result="setTargetNames(event)" />
<s:method name="getAvailableToolNames" result="setToolNames(event)" />
<s:method name="getAvailableActionNames" result="setActionNames(event)" />
<s:method name="simulate" result="resetFields(event)" />
</s:RemoteObject>
But this isn't quite what I want to do. This forces me to create an instantiation of the class behind SimulationWebService as soon as the page loads, whereas I may want to do a variety of different things depending on user actions, including not create one at all. How do I create this same object from ActionScript?
View 1 Replies
Aug 12, 2010
So as you may or may not know, BlazeDS (open source version of LiveCycle Data Services) is a nice way to get your server-side Java and client-side Flex application to play together. Unfortunately, it does have several pitfalls that need to be corrected. I'll try to explain one of them here.
All of BlazeDS's configuration is written via XML files in the flex/ folder of your webapp. The default names are separated for clarity, such as services-config.xml, remoting-config.xml, messaging-config.xml, etc. In these configuration files (particularly services-config.xml), Channels are defined; these setup URIs and objects used to capture and send information between the server and the client. In these config files, it is quite common to use a syntax like so:
[Code]...
Unfortunately, what they don't tell you is that some of these key-in replacements (ie: {context.root}) are not replaced dynamically upon execution but upon compilation of the WAR file you intend to distribute. Obviously not a good idea when switching domains.
So, instead I seek to dynamically define these channels. According to the documentation, that's all good and fine, but it only works if the channel already exists when the webapp is launched. I feel like that sort of defeats the point. So my question is, how do you truly create channels dynamically so that both the client and the server recognize their existence?
View 1 Replies
Aug 29, 2010
We have a Flex-BlazeDS-Spring-JMS application. The issue is sometimes we get a Blazeds error: NoSuchMethodException. It is not able to find the Java service. The weird issue with this it does not happen all the item...1 time it goes through and returns the result, the 2nd time it fails, 3rd time fails and so on. Also not all methods fail, only 2 method calls fail.
[Code]...
View 2 Replies
Oct 25, 2010
I recently came into a situation when sending a nested object from Java to Flex via a HashMap the Objects were null. More precisely:final Map< Integer, List<String>> tempMap = new HashMap<Integer, List<String>>();would send the keys as integers but the values were all null.But when sending the same with String keys:final Map<String, List<String>> tempMap = new HashMap<String, List<String>>();the objects came thru.Are there any restrictions in BlazeDS serialization when using complex types as keys?
View 1 Replies