Integrating Flex with jpa using blazeds

Hello
          I m using flex builder 4.5 standard version ,and i can not create the combined java/flex project,So i m craete the java class and palced it on the blazeds/WEB-INF/classes.But problem is where to put the persistence.xml file in my flex project

I am just starting to play with this myself.
Apparently the  META-INF/persistence.xml has to reside in your WEB-INF/classes directory upon deployment.
Easiest way would be to put it directly into your source folder of your java codebase.
Hope this helps.

Similar Messages

  • Flex with Hibernate using HTTP

    Hi All,
    am new to Flex. Can any one post a simple code on Flex with
    Hibernate using HTTP , i mean connecting to database using
    Hibernate and invoking the hibernate by using the HTTP service.
    can we have a sequence like
    Flex(MXML)->JSP->Hibernate->Database .Is it possible?
    Thanks in Advance

    > can we have a sequence like
    Flex(MXML)->JSP->Hibernate->Database .Is it possible?
    That's exactly what you're going to have and it certainly is
    possible. (Replace the JSP with Servlet, Struts Action, JSF or
    whatever)
    Usually you'll send data back -- output to JSP or write to
    HttpServletResponse object -- in XML or JSON format. The data would
    be delivered to the result event of the HTTService in Flex. If it
    fails for some reason, the fault event of HTTService class would be
    invoked.
    The important thing to realize about Flex is that it cannot
    directly connect to a DB; you need a server side action that would
    get data from wherever write it to response. It's more like Ajax
    calls to a JSP/Servlet.
    ATTA

  • Developing flex apps that use blazeds with flexbuilder and eclipse

    Hi all,
    Im new to Flex. I'm trying to setup my development environment. What I've noticed is that when blazeds is started and I run a flex project, it creates a folder in the blazeds root folder named $ProjectName-debug (replace $ProjectName with the actual project name). Once this folder is created, and the flash page is accessed, it cannot be deleted until blazeds is actually stopped. The files on that folder seem to be locked. While this folder is locked, eclipse cannot seem to re-build the project (specifically clean). Thus every small change I make to the project, I'm currently having to stop blazeds, clean the flex project, start blazeds, run the flex project.What makes things worse is that I have to start our application along with blazeds so it can retrieve the data from the app (which takes a few minutes).
    I'm wondering if other people are having to go through this pain or if they've figured out a way to get around this. I would ideally like to have a way where I'm able to rebuild the project and hit f5 and reload the page and see the changes. I understand this is not possible with debug.
    If anyone has figured out a way to incorporate blazeds to their development environment in a more practical way, please let me know. We just switched from tapestry/gwt to flex. We used to be able to update on the go thus development was much simpler.
    Regards,
    Udam

    Hi Udam. I don't seem to have that problem. I'm using the FlashBuilder 4 (formerly FlexBuilder) beta so maybe it is a bug in the version of FlexBuilder you are using, although it could also be something else in your environment.
    When I clean the project in FlashBuilder 4 it deletes all the assets from the $ProjectName-debug directory and then rebuilds the project. It doesn't attempt to delete the $ProjectName-debug directory itself.
    If you are not using the FlashBuilder 4 beta I would try using that and see if it resolves the problem for you. If that fixes things then you know it is an issue with the version of FlexBuilder you are using.
    If that doesn't do it, it could be an issue with the application server you are using or maybe something else in your environment.
    If you still have problems after trying this with FlashBuilder 4 please reply back with as much information about your environment as you can such as what application server you are using, what OS you have, what browser you are testing with, if you have FlexBuilder and BlazeDS running on the same machine or separate machines, etc.
    Thanks.
    -Alex

  • Can Flex get faster using BLAZEDS with JBOSS

    how can i make the data push faster?
    i develop an application on java that reads data from a gps located in a car, and other java receive this data. im actually sending the data to FLEX using BlazeDS and JBoss as application server, but i dont know why it's too slow,
    flex receive the data push every 3 seconds or more, and i want to be able to receive as much data as i want!!
    my question is, can i make flex faster receiving this data!?
    i need to receive the data faster to actually show on real time the position of the car,
    thanks

    Looks like you guys have blazeds up and running inside JBoss. I'm actually having trouble getting this up and running. Can you provide some info on how you set it up? Here are my configs:
    activemq-jms-ds.xml:
          jms/testTopic
          jboss.jca:service=RARDeployment,name='activemq-ra.rar'
          javax.jms.Topic
          PhysicalName=test.topic
    messaging_config.xml :
                    Topic
                    javax.jms.TextMessage
                    activemq/TopicConnectionFactory
                    jms/testTopic
                    NON_PERSISTENT
                    DEFAULT_PRIORITY
                    "true"
                    AUTO_ACKNOWLEDGE
                    1
    What am I missing? Look forward to hearing from you guys. Thanks in advance.

  • Can we able to view design mode while integrating flex with eclipse

    Hi,
    I am able to integrating flex builder with eclipse, but failed to get the design mode in that one.
    Can anyone please suggest how i can able to ovecome from this issue.
    Thanks,
    Sri.

    Maybe you need the Adobe reader to read PDF files:
    http://www.adobe.com/products/acrobat/readstep2.html?promoid=BONRM

  • Integrating flex with webdynpro java

    hi,
    iam new bie in webdynpro java.please tell is there possibility of integrating flex in webdynpro java,if so what are the prerequisites for it.

    Hi
    This is possible through Adobe Flash Islands under Mimes folder in your Webdynpro project. You create flex objects in FlexBuilder and generate the .swf files. Then the swf files need to be placed under the Mimes folder of Webdynpro Project from which they can be accessed.
    Follow the link below for details :
    http://wiki.sdn.sap.com/wiki/display/WDJava/WebDynproJava(CE7.1EHP1)andAdobeFlexIntegration-ColumnChart
    http://help.sap.com/saphelp_nw72/helpdata/en/48/825afcf53d3ff6e10000000a42189c/content.htm
    Regards,
    Sayan Ghosh

  • Integrate Adobe Flex and JBOSS using BlazeDS

    I using this link http://simplyolaf.blogspot.com/2009/07/integrate-adobe-flex-and-jboss-using.html to create Flex Project for Blaze DS. I added the following arguments to the flex compiler: -services "F:/java_WS/iASCUE/WebContent/WEB-INF/flex/services-config.xml" . Can I define relate path? when I put my project on other server it don't work

    Does anybody something know?

  • Integrating Ariba with JDE using Oracle SOA

    Hi Gurus,
    We want to integrate Ariba system(Purchase Order opeartion) with JDEdwards using Oracle SOA Suite.
    Anybody has got any material or links which supports this activity?
    Any valuable inputs/suggestions on this will be appreciated.
    Thanks in Advance,
    Abhishek

    Hi,
    Thank you for your reply.
    Is the usage of B2B not applicable for this project ?
    Thanks

  • Integrating SD with FSCM using WS-RM - Update Termination error

    Hello experts .
    We are trying to integrate SD with FSCM ( credit management) using WS-RM (without PI).
    Details of the issue and steps followed so far.
    Ideal Scenario :
    Once we create / change a sales order ( in SD ) , the interface Creditworthinessquery_out (WS Consumer ) gets triggered (in SD) and the subsequent response CREDITWORTHINESSQUERY_IN(Provider) is triggered from FSCM (with the details of creditworthiness).Once the query response in received an notification is triggered from SD to FSCM (asynchronous service).
    After receiving the query response the functionality of credit check happens while creating / changing the sales order .
    Configuration steps followed in SOAMANAGER
    We have created end points for all the relevant service interfaces (Providers) , and also created logical ports for the respective consumers.
    During the creation of  logical ports -  for the consumers we used the WSDL (of the providers) as the inbound message action.
    (This has been done to all the services query , notification that are relevant in our integration).
    Current behavior / issue .
    While creating sales order the sales order is not getting saved (getting updated in the database).System allows us to complete the sales order creation process and also we get a message as sales order saved successfully. But then there is a update terminated express document that pops up. Sales order is not getting updated  in the database.
    When I see the logs/traces in SOAMANAGER I see that the query out is successful , query in has the right response (in warning state though) . But no notification is being triggered ?? 
    How to overcome this update termination issue ?
    When we see the SM13 log , it points to SLD issue (LCR 010: Internal error in SLD API). why do we need a SLD without PI ?

    Hi ,
    Can you tell me more details of how you are testing this ? I was successfully able to impilment this solution (credit management using ws-rm in ehp5). If you can give me more details i can surely try to help .

  • Error in integrating flex with web dynpro abap

    Hi,
    I did integrating   Island Component into Web Dynpro ABAP as per the tutorial given by Thomas Jung.
    Now i'm facing a problem that in that bar chart ,after giving the values in web dynpro table,bars are not getting populated.
    I'm getting X and Y axis populated...only bars are not getting populated..
    plz help....

    hi,
    i'm using flex 4...
    Is it because of that??

  • Error while Integrating SDN with portal using AppIntegrator

    Hi
    I am trying to Integrate SDN in Portal Using AppIntegrator.
    When I am select SDN iview then it is connecting to the SDN but it is not login into SDN (Error is User Id or Password is not correct.).
    The mapped User Id & password is working fine if I am login SDN directly.
    System Property is
    URI of web application: - /irj/servlet/prt/portal/prtroot/com.sap.sdn.logon.redirect
    Thanks in Advance

    Hi
    Try with URL iView. (contant admin >> portal contant)
    Cheers
    Jawahar Govindaraj
    PS:Reward pts

  • Integrating FIM with SAP using web services connector

    Hi 
    I am implementing the FIM web services connector to integrate with SAP. The MS connector config guide for SAP documentation seems to me missing some content or at least I think it might be written for an earlier version of
    SAP than the version we are working with(different screenshots, options, etc). The version of SAP we have implemented is EHP6 for SAP ERP6 which I believe translates to ECC6.
    SAP web services have been configured and FIM performs successful discovery of the wsdl endpoint and BAPI operations as expected. Our issue is that FIM fails to run a full import. From the digging around web service config and error logs two observations comes
    out:
    1. FIM Full Import workflow does not render correctly through the web service configuration tool and complains of a duplicate attribute "xml:space is a duplicate attribute on line on line 424 on position 103". Review of the wsconfig generated by the
    webservice config tool points to an variable supplied to a construct the query to a BAPI of HR infotype 0006. Extract below:
    ...<InArgument x:TypeArguments="d:BAPIP0006L" xml:space="preserve">[If(Not IsNothing(addressInfo) AndAlso Not IsNothing(addressInfo.item), addressInfo.item, Enumerable.Empty(Of BAPIP0006L)()).
    OrderByDescending(Function(a) DateTime.ParseExact(a.VALIDBEGIN, dataSourceDateFormatValue, Nothing)).
    ThenByDescending(Function(a) Integer.Parse(a.RECORDNR)).FirstOrDefault()]</InArgument>...
    I can only guess that it means the query should keep the spaces within the string it passes to SAP but this is where my understanding stops.
    2. SAP returns errors about not implementing a BAPI EMPLOYEE_GETDATA function which is not part of the exposed BAPI operations. Well the obvious solution to this would be expose this missing operation (which is undocumented in MS config guide) however this
    BAPI is a core requirement to retrieve person information. I would be hugely surprised if this operation was not factored into the config. This makes me think that to understand this better I need to resolve issue 1 first and get the rendering sorted first. 
    Has anyone come across the above issues with a recent implementation with this connector? Or help point me in the right direction? 
    any help would be greatly appreciated!
    thanks!!

    Hi Joe,
    you most probably missed the sentence "Add the required BAPI’s in the function group and select those required BAPI’s and click continue." in the "Connector for SAP.docx" document on page 8. In other words your webservice does not provide the required
    BAPIs.
    In the "DefaultSAPECC_6.wsconfig" the workflows for import and export require specific BAPIs.
    Also make sure that your Service Definition has got the same name as in the documentation and the workflow template.
    I was fighting with this for the last 4 days but in the end got it working.
    Hope this helps
    Chris

  • Is there any tutorial for integrating struts with hibernate using JDevelope

    Hi Everybody
    I am using Jdeveloper...and I want to know is there any tutorial available for usinfg struts and hibernate.
    If anybody knows abt them...plz tell me the links.
    Thanks and Regards
    K Sreenivas

    A tutorial about using hibernate in JDeveloper is here:
    http://www.oracle.com/technology/pub/articles/vohra_hibernate.html
    There are many papers and tutorials about Struts in JDeveloper - just go to the tutorials page and technical papers pages linked from the JDeveloper home-page.

  • Flex with Jboss

    Hi Friends
    I'm developing Flex with java using Blaze-DS under the
    Spring MVC. I've problem in using Jboss, Based on BlazeDS
    Installation guide
    http://opensource.adobe.com/wiki/display/blazeds/Installation+Guide
    configure the jboss with Flex.There is no problem with Flex running
    in Jboss but it couldn't establish connection and business logic
    with java, The Jboss server couldn't through any errors. These same
    war file run under the tomcat server. So please help me to solve
    this problem.
    Thanks&Regrads
    Prakasam

    I don't have any experience with Spring MVC but I was using
    JBoss with Blaze-DS without a problem.
    so my next question is, can you make a echo to work??
    eg, make a function that returns the input string back to the
    flex client.
    Ries

  • Integrating Apache with Tomcat?

    Anyone have a guide to integrating Apache with Tomcat using mod_jk?
    I followed some guides online, but they all seem really dated with some obscure references. This seems like it should be on the top of the list....

    Hi Alan.
    I've discovered the exact same problem.... 0.0.0.0 instead of 127.0.0.1
    You've obviously not had any replys here, but di you end up working it out on your own?

Maybe you are looking for

  • Thinkpad's and N100's w/ 945PM chipset can't address 3G Ram but Dell Can

    Since I am a programmer, I am particularly interested in having the maximum amount of Ram available under 32 bit Windows. Unfortunately,  I have to buy a T61p to enable me to use 4GB. From a reply to a NoteBook review Forum: http://forum.notebookrevi

  • Who can solve this problem?

    Repeat message I have 2 same servers on sun. I update data on first www server and I want to have updated data on second www server (to have save backup server). How to do this? Thanks for answer. Sorry for my bad English. Piotr

  • Why is a 'globe' contact available in Global Address List (which belongs to AD), but I cannot find it on AD server?

    I have a topic at link: http://social.msdn.microsoft.com/Forums/en-US/7b74fd63-1d0d-449e-9f31-83b707683053/finding-microsoft-document-about-globe-contact-in-outlook-address-book?forum=outlookdev&prof=required Please see the post first. I dot not make

  • Can't get past the tutorial window

    I just updated to iTunes 9.1. Now when I click on the Music library, all I get is a window directing me to some tutorials. How do I get rid of this stupid window and get my music back?

  • Install gnome/kde/xfce to /usr?

    Why don't we just put everything into /usr? The /opt serves no purpose since all apps are installed/removed by pacman and not untar/rm. And where should you install an app that needs both of kde and gnome?? /opt/kde+gnome? The reasons people are agai