How to do ADS with EJB Datacontrol

Hi All,
I have a requirement to implement the ADS using Session EJB. I am using EJB 3.0.
I should be able to filter/Sort the af:table. Also when any new row gets added in database then that table should be automitacally get updated/refreshed.
Can anyone have such documents or any reference Urls. Please suggest how should i apporach for this.
Thanks,
Babasaheb Chavan

You can refer this post :
For displaying data in adf pages using EJB3
http://st-curriculum.oracle.com/obe/jdev/obe11jdev/ps1/ejb/ejb.html
The second requirement can be achieved by using adf poll or push mechanism.
For ADF poll you can refer the blog:
http://saumoinak.blogspot.com/2011/02/creating-adf-poll.html
You can refer also this for ADS:
http://download.oracle.com/docs/cd/E15523_01/web.1111/b31974/adv_ads.htm

Similar Messages

  • How to  use Timing with EJB in J2EE1.3

    Hi,
    I am developing an EJB app where I need some sort of timing service. Unfortunately, I can't resort to the EJB Timer Service which is available under the J2EE1.4 spec, because the server I am working on is only J2EE1.3 compatible.
    I understand that I cannot use threads as they would intervene with the EJB thread handling.
    Can anybody give me an idea what I could use instead? Is there any trivial solution this? I'd be thankful to hear it..
    Regards,
    Katrin.

    Cross-post
    http://forum.java.sun.com/thread.jspa?threadID=730563&messageID=4204123#4204123

  • How should I start with EJB programming?

    I have more than one year's programming experience in developing complicated data-driven web applications.
    Now I decide to use EJB to build new web applications, how should I start?
    Should I take a professional training class or just read several EJB books? I have Ed Roman's EJB book, it is great.
    Thanks for your reply in advance.
    James

    I think you start of by reading the EJB book by Ed Roman.It's free and availaible at www.theserverside.com.
    Read the first few chapters.
    Another good book is Richard-Monson Haefel's EJB published by Orielly.
    Start of by coding a few examples of stateless session beans on an easily deployable server like the J2EE server, available from this website.
    Your next aim should be to understand Entity beans and the issues surrounding container managed persistance and bean managed persistance.
    Voila in no time you wil be a champ.

  • How to sort collections with EJB 2.0?

    As you know there is no ORDER BY statement in EJB QL; so I receive unsorted collection of objects from finder-methods. The process of Collections.sort() is very slow... Any ideas how to make a quick sort?

    Order by is a EJBQL 2.1 feature. It can be found in coming release of s1AS8.
    In JDK 1.4, merge sort is used in Collections.sort. It has a O(nlogn) algorithm. While quick sort only has an average O(nlogn) algorithm. If you are using custom Comparator, then you may to check about its implementation.

  • How to display ads with Vungle?

    Hi, I´m working on App and it seems like I have integrated Vungle correctly because I can see it reflected on my dashboard, the problem is when I call for the ads the app crashes or simply doesnt display the ads
    This is part of my code where I want it to work
    I have imported these
    import com.vungle.extensions.*;
    import com.vungle.extensions.events.*;
    import com.vungle.extensions.Vungle;
    import com.vungle.extensions.events.VungleEvent;
    public function main()
      menuStart.showStartScreen();
      menuStart.addEventListener("START_PLAYING", startGame);
      menuStart.addEventListener("GO_OPTIONS", openOpt);
      Vungle.create([,"53dc06fd5d261a11060001a3"]);
      introChannel = introS.play();
      function openOpt(e:Event):void
      menuStart.hideStartScreen();
      menuEnd.hideScreen();
      menuOpt.showScreen();
      Vungle.vungle.displayAd();
      popS.play();
      menuOpt.addEventListener("GO_BACK", goBack);
    And I have made all modifications to my xml according to Vungle
    <application>
        <activity
          android:name="com.vungle.sdk.VungleAdvert"
          android:configChanges="keyboardHidden|orientation|screenSize"
          android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
        />
        <service android:name="com.vungle.sdk.VungleIntentService"/>
      </application>
    ... and the permissions
    Any idea why this might be happening?
    Thanks in advance

    Hi,
    Looks like the AppID you're using with Vungle.create is not actually a valid AppID. You can find yours on your app's page on our dashboard. It's in red, at the top left. If you have further questions, please contact us at [email protected]
    Thanks!
    Jordyn
    Vungle Tech Support Engineer

  • Pleease Help (UIX with EJB)

    it seems that uix cannot be used with ejb and session beans like ADF views. for exampe the master detail between pages doesn't work. i am getting crazy.
    please give me anykeys about how to use UIX with EJBs and Session beans

    are you using CMP or BMP?

  • How to use ADF Query search with EJB 3.0

    Hi,
    In ADF guide http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/web_search_bc.htm#CIHIJABA
    The steps to create query search with ADF Business Components says:
    "+From the Data Controls panel, select the data collection and expand the Named Criteria node to display a list of named view criteria.+"
    But with EJB, I'm not able to find Named Criteria node. Can we use ADF query search component with EJB? If yes, can you please show me some example, tutorial etc.?
    Thanks
    BJ

    For EJBs you'll need to implement the query model on your own.
    An example of how the model should look like is in the ADF Faces components demo.
    http://jdevadf.oracle.com/adf-richclient-demo/faces/components/query.jspx
    Code here:
    http://www.oracle.com/technology/products/adf/adffaces/11/doc/demo/adf_faces_rc_demo.html

  • JSF combined with EJB, how??

    Hi @ll,
    I have been trying for some days to combine my JSF pages with EJB Session Beans, but I haven't really found a working way to do it.
    First, I had my session bean directly as the backing bean for the JSF page, but I read somewhere that this isn't "allowed", so I created a helper bean as managed bean. This is now the backing bean for the jsf page and has as attribute the session bean.
    My helper bean:
    public class ManagedHelperBean {
    @EJB private JDDACReaderBeanRemote reader;
    public JDDACReaderBeanRemote getReader() {
         return reader;
    public void setReader(JDDACReaderBeanRemote reader) {
         this.reader = reader;
    }Part of my faces-config.xml
    <managed-bean>
    <managed-bean-name>helper</managed-bean-name>
    <managed-bean-class>com.company.ManagedHelperBean</managed-bean-class>
    <managed-bean-scope>session</managed-bean-scope>
    </managed-bean>Part of my jsp page:
    <h:outputText value="#{helper}"/>
    <h:outputText value="#{helper.reader}"/>Now, the first output in the jsp page works, the second one doesn't. Why can't the property reader be accessed?? What is the correct way to combine JSF with EJB?
    Kind regards,
    Wiebke

    Hello,
    I faced the same problem, but on a Weblogic 10 server.
    The problem with Weblogic 10 is, even if it's "supposed" to be a EE5 compliant server, it is not.
    As described here http://e-docs.bea.com/wls/docs100/webapp/annotateservlet.html , there is no Dependency Injection in JSF managed beans:
    The web container will not process annotations on classes like Java Beans and other helper classes.
    But, WL 10 offers DI on Servlets, Filters and Listeners.
    Here is how I solved it (probably not the best way, but it works for me):
    - created a filter with a list of EJB injected (as it works). For every filtered request, set a list of known (enum) as request attributes mapped each to a EJB service:
    public class EJBInjectFilter implements Filter {
    @EJB
    private MyEJBService ejbRef;
    public void doFilter(ServletRequest req, ServletResponse resp, FilterChain chain) throws IOException,
                   ServletException {
    log.debug("Setting EJB ref into request as attribute ");
              req.setAttribute(ServiceEnum.MY_EJB_SERVICE.toString(), ejbRef);
              chain.doFilter(req, resp);     
    - for every managed bean who needs a service you can do something like:
    (MyEJBService) ((HttpServletRequest) FacesContext.getCurrentInstance().
                   getExternalContext().getRequest()).getAttribute(ServiceEnum.MY_EJB_SERVICE.toString())
    to get a reference to service.
    I agree it is a totally not elegant solution. But why does WL 10 say it's a full JEE5 compliant server, and though does not provide DI for managed beans?
    A drawbacks I could think of is performance slow-down (for every request, apply filter, set list of attributes + references into request) - probably it does take some time.
    Let me know your thoughts.
    Edited by: cosminj on Nov 20, 2007 8:16 AM

  • Ejb datacontrol, query panel with timestamps / date field errors

    Hi,
    I made an ejb datacontrol on a session bean in jdev 11g ps1 and used the named criteria of this entity in the data control to create an af querypanel. This works well.
    first thing I cannot configure a date picker with time on this timestamp field (only date ).( does not matter what I configure in the entity datacontrol xml , it does not work )
    and displaying the timestamp field in a inputData ( result table ) and showing the time also does not work either.
    When I use in the query panel a between query operator on this date or timestamp field I get this error.
    Caused by: java.lang.IllegalArgumentException: An exception occurred while creating a query in EntityManager:
    Exception Description: Syntax error parsing the query [SELECT COUNT(o) FROM RunMessages o WHERE (o.processDate BETWEEN '2009-12-11' AND '2009-12-12')], line 1, column 56: syntax error at [BETWEEN].
    Internal Exception: MismatchedTokenException(11!=82)
         at org.eclipse.persistence.internal.jpa.EntityManagerImpl.createQuery(EntityManagerImpl.java:1241)
    <BeanDataCollection><invokeMethod> Exception occurred invoking $Proxy179.queryByRange
    java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.adf.model.adapter.bean.provider.BeanDataCollection.invokeMethod(BeanDataCollection.java:405)
         at oracle.adf.model.adapter.bean.jpa.JPQLBeanDataCollection.getRecordCount(JPQLBeanDataCollection.java:164)
         at oracle.adf.model.adapter.bean.provider.BeanDataCollection.init(BeanDataCollection.java:153)
         at oracle.adf.model.adapter.bean.jpa.JPQLBeanDataCollection.init(JPQLBeanDataCollection.java:110)
         at oracle.adf.model.adapter.bean.provider.BeanDataCollection.refresh(BeanDataCollection.java:380)
         at oracle.adf.model.adapter.bean.provider.BeanDataProvider.getDataProvider(BeanDataProvider.java:63)
         at oracle.adf.model.adapter.bean.DataFilterHandler.invokeAccessor(DataFilterHandler.java:137)
         at oracle.adf.model.adapter.bean.BeanFilterableDataControl.invokeAccessor(BeanFilterableDataControl.java:78)
         at oracle.adf.model.bean.DCBeanDataControl.invokeAccessor(DCBeanDataControl.java:447)
         at oracle.adf.model.bean.DCDataVO$DCAccessorCollectionAdapter.getDataProvider(DCDataVO.java:2627)
         at oracle.adf.model.bean.DCDataVO$DCAccessorCollectionAdapter.refreshIterator(DCDataVO.java:2519)
         at oracle.adf.model.bean.DCDataVO.executeQueryForCollection(DCDataVO.java:419)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:1130)
         at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:1299)
         at oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:1217)
         at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:1211)
         at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:6097)
         at oracle.adf.model.bean.DCBeanDataControl.executeIteratorBinding(DCBeanDataControl.java:943)
         at oracle.adf.model.binding.DCIteratorBinding.doExecuteQuery(DCIteratorBinding.java:2147)
         at oracle.jbo.uicli.binding.MyIteratorBinding.executeQuery(JUAccessorIteratorDef.java:717)
         at oracle.jbo.uicli.binding.JUSearchBindingCustomizer.applyAndExecuteViewCriteria(JUSearchBindingCustomizer.java:598)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding.processQuery(FacesCtrlSearchBinding.java:424)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.el.parser.AstValue.invoke(AstValue.java:157)
         at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodExpression(UIXComponentBase.java:1289)
         at oracle.adf.view.rich.component.UIXQuery.broadcast(UIXQuery.java:115)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:812)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:292)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: javax.ejb.EJBException: EJB Exception: ; nested exception is:
         java.lang.IllegalArgumentException: An exception occurred while creating a query in EntityManager:
    Exception Description: Syntax error parsing the query [SELECT COUNT(o) FROM RunMessages o WHERE (o.processDate BETWEEN '2009-12-11' AND '2009-12-12')], line 1, column 56: syntax error at [BETWEEN].
    Internal Exception: MismatchedTokenException(11!=82); nested exception is: java.lang.IllegalArgumentException: An exception occurred while creating a query in EntityManager:
    Exception Description: Syntax error parsing the query [SELECT COUNT(o) FROM RunMessages o WHERE (o.processDate BETWEEN '2009-12-11' AND '2009-12-12')], line 1, column 56: syntax error at [BETWEEN].
    Internal Exception: MismatchedTokenException(11!=82)
         at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.unwrapRemoteException(RemoteBusinessIntfProxy.java:109)
         at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:91)
         at $Proxy179.queryByRange(Unknown Source)
         ... 65 more
    Caused by: java.lang.IllegalArgumentException: An exception occurred while creating a query in EntityManager:
    Exception Description: Syntax error parsing the query [SELECT COUNT(o) FROM RunMessages o WHERE (o.processDate BETWEEN '2009-12-11' AND '2009-12-12')], line 1, column 56: syntax error at [BETWEEN].
    Internal Exception: MismatchedTokenException(11!=82)
         at org.eclipse.persistence.internal.jpa.EntityManagerImpl.createQuery(EntityManagerImpl.java:1241)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at weblogic.deployment.BasePersistenceContextProxyImpl.invoke(BasePersistenceContextProxyImpl.java:93)
         at weblogic.deployment.TransactionalEntityManagerProxyImpl.invoke(TransactionalEntityManagerProxyImpl.java:91)
         at weblogic.deployment.BasePersistenceContextProxyImpl.invoke(BasePersistenceContextProxyImpl.java:80)
         at weblogic.deployment.TransactionalEntityManagerProxyImpl.invoke(TransactionalEntityManagerProxyImpl.java:26)
         at $Proxy175.createQuery(Unknown Source)
         at nl.tennet.mhs.console.model.services.MhsConsoleBean.queryByRange(MhsConsoleBean.java:32)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
         at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:55)
         at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy181.queryByRange(Unknown Source)
         at nl.tennet.mhs.console.model.services.MhsConsole_ssug8i_MhsConsoleImpl.queryByRange(MhsConsole_ssug8i_MhsConsoleImpl.java:218)
         at nl.tennet.mhs.console.model.services.MhsConsole_ssug8i_MhsConsoleImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:174)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:345)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
         at nl.tennet.mhs.console.model.services.MhsConsole_ssug8i_MhsConsoleImpl_1032_WLStub.queryByRange(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:73)
         ... 66 more

    what happens if you do the following on all three different environments:
    SQL> select to_char(exp_date, 'dd-mon-yyyy hh24:mi:ss') from your_table where your_condition ;
    [pre]

  • How to use Java WebStart with EJB ?

    hi forum...
    how to use Java WebStart with EJB ? examples ?
    thanks
    mindu

    Greetings,
    hi forum...
    how to use Java WebStart with EJB ? examples ?Well, for starters these are complementing, not 'cooperating', technologies. I presume, since EJB's do not - directly, at least - communicate with a web browser, that you intend for "Java WebStart" to somehow invoke an EJB?? Java WebStart is a technology for running client-side (Java) applications from the web browser - perceptively, the application resides on the server, but technically it, like an applet, is downloaded to the client and run there. Unlike an applet, however, it is not constrained by "sandbox" restrictions and does not have to be re-downloaded each time it is invoked - though the process allows for automagically updating the client-side with new versions of the application. ;) So, with this in mind, to "use Java WebStart with EJB" means little more than deploying an EJB client application with Java WebStart as the distribution channel.
    thanks
    minduRegards,
    Tony "Vee Schade" Cook

  • How to make ads/banners published for an Adserver (only an HTML file with all js files and images linked)

    Hi everyone!
    I'm hoping someone can solve this.
    I have made some ads in Edge Animate CC and need to put them on an Adserver....
    but the adserver company only accept the HTML code... only extra files or images.
    This means linking the images and the .js files to URLs. I have done it with the images but are hitting a wall with the _edge.js
    I added the script in the HTML to load the _edge.js. (<script src="http://www.christianlaursen.net/ADS/WL_AD_160x600_edge.js"></script>)
    But I get certain errors in the console which I believe relates to how Edge tries to load _edge.js locally (even if i load it separately)
    Uncaught ReferenceError: AdobeEdge is not defined                    WL_AD_160x600_edge.js:3
    Failed to load resource: net::ERR_FILE_NOT_FOUND                 file:///C:/Users/claursen/Desktop/WL_AD_160x600_edge.js
    Uncaught TypeError: Cannot read property 'stage' of undefined    edge.5.0.1.min.js:133
    Uncaught TypeError: Cannot read property 'stage' of undefined    edge.5.0.1.min.js:126
    This is as far as I got. I am not sure 100% the script is being loaded correctly, but as the console is complaining about the local file, I have
    a feeling it's with Edge's attempt to load it locally that causing it to stop.
    Anyone doing Ads with Edge? It seems it should be such a simple thing and also important thing
    Thanks in advance for reading and any given help!

    I have verified that an Edge published banner can be booked into DFP (Doubleclick for Publishers) as a third party tag by creating an iFrame of the link to your edge published HTML file. You save that file as a *.txt.There is still the issue of click URL macros, and cachebusters. For DFP the click URL macro is %%CLICK_URL_ESC%%
    So you would probably use in Edge
    window.open('cta', %%CLICK_URL_ESC%%'http://somedomain.com/');
    then for the cachebuster, DFP's is random=%%CACHEBUSTER%%
    This is what an Edge published banner tag would look like.
    <style type="text/css">
    body{
    margin: 0;
    padding: 0;
    </style>
    <iframe src="http://www.somedomain.com/yourfilename.html"
    marginwidth="0" marginheight="0" scrolling="no" width="160" align="top"
    frameborder="0" height="600"></iframe>
    IMO it is worth pursuing using Google Analytics for the reporting, as you can put your Google Analytics code in your Edge published HTML file.Hopefully someine with GA experience will chime in.
    Event Tracking in Google Analytics Universal through Google Tag Manager - YouTube

  • How integrate JAAS with EJB Server?

    I want to use JAAS to create a security Handler for an open source EJB Server. Does anyone have some suggestions on how best to integrate this with EJB's (using EJB 1.1 for now)?
    Any ideas, or problems you might see, or things to be careful of are all welcome!

    Weblogic 6 actually provides this as an example. They use JAAS login modules for authentication purposes. I don't think this integration is too difficult. In integrating authorization I believe they just delegate to one of their security realms.

  • How update with EJB

    Hi all,
    is it possible to update with EJB CMP?? If yes... how?
    Thanks,
    Vito

    Hi Vito,
    Why not, we can do that. Please refer some of the awesome links as i am listing below,
    Concepts of CMP:
    http://www.caucho.com/resin-3.0/cmp/tutorial/index.xtp
    http://java.sun.com/products/jdo/JDOCMPFAQ.html
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/7d5db590-0201-0010-dd93-9ec216811b9e
    Some examples and source code :
    http://java.sun.com/j2ee/sdk_1.3/1.3_01/techdocs/release/CMP-RI.html
    http://java.sun.com/developer/technicalArticles/ebeans/EJB20CMP/index.html
    I hope these will be good enough clear your doubts, if feel necessary reply back.
    Regards,
    Guru.

  • How to use Java Web Start with EJB ?

    hi forum...
    how to use Java WebStart with EJB ?
    examples ?
    thanks...
    mindu

    Mindu,
    WebStart will work with EJB. I use it with WebLogic Server. You have to make sure and deploy the weblogic.jar file - sign it if needed.
    For signing information, look here,
    http://java.sun.com/products/javawebstart/1.2/docs/developersguide.html
    Dan

  • Hello  how to remove Ads by CouponDropDown on safari with mavericks like extensions remains empty  thank you

    hello
    how to remove Ads by CouponDropDown on safari with mavericks like extensions remains empty
    thank you

    Since I do not use Safari, I had no idea that was an extension, but that person should not be calling that a virus as that is a bit over the top; besides, I have extensions turned on precisely because I want Adblock and WOT to run.
    If that is an extension, then it was installed and can be uninstalled which would appear to be a good way to handle it.
    @bragon18:
    I'm on my Mountain Lion machine and I do have extensions showing on the left:
    (can't check on my Mavericks machine at the moment).

Maybe you are looking for

  • Repackaging an instrument driver with CVI

    Is it possible to create a distribution in CVI with out any source code to be compiled ? Background : We want to port a program which uses an old HP 8712 analyzer to Windows 7 ( 64bit edition) . The installer for the instrument driver is a 16bit prog

  • Trying selelct A,B,C,D from dual

    I want to create a sql statement where I select from dual letters A THRU E. I want them to come back in one field. I have done the following select 'A' ,'B','C','D' FROM DUAL but this brings them back in there own field.

  • Wildcards or regex in CSS dns-record

    Hi, is it possible to use regex or wildcards in dns-record command in CSS?. I would like to use something like dns-record a *.example.com 10.10.10.10 in order to CSS responds to test1.example.com and test2.example.com without introduce this last two

  • How to install J2ee sdk 1.4

    How to install j2ee sdk 1.4......is like j2ee sdk 1.3???????????

  • Tokens in Mail Template

    Hi Experts, We have a requirement to modify the value assigned to the Token Phone_UR in Mail message  . Currently the mail message includes the Phone_UR token with old contact number . Please guide me the steps to change the token values Appreciate y