Maven 3 + 2 + EJB 3.1, JBoss AS 7 JavaFX. Is this possible?

Hello guys I'm new to the forum, and I am studying recently JavaFX 2.

My question is: is it possible to create a JavaFX 2 application and make it available on an application server JBoss 7?
I do a few tests of architecture (a single connection) and it's my structure, I'll need JBoss 7 server, EJB 3.1 for the business layer and Maven dependency management. If the JFX is not in this context, I have to change the view layer technology.

So what I do, was the integration of JavaFX 2 with EJB 3.1 (@EJB) and maven, all right here.
The problem is that when I put the module in order to deploy jboss, the following message appears in the log of jboss:

* "java.lang.ClassNotFoundException: javafx.application.Application" *.

The structure consists of:
-a jar with the business logic layer and the model / database access;
-a jar with a client application in JavaFX.

These pots are in the "deployment" of JBoss and JBoss startup, it creates these pots and provides in the form of modules.
The jar of business begins and that it will be available, but the client does not, which gives the above message.

Note: The same structure work with JSF 2, the only difference is from these that the jar is replaced by a war of customer to customer.

Could someone give me a help or light on this situation?

Maybe a few possible out of this situation, I don't know if it's the best practice, but in order to use separate pots, is able to make an app that can be changed in some areas not having do not need to re - deploying a complete application, whenever a change is made.

Thank you.

I address your other questions, will not just the class not found.

java.lang.ClassNotFoundException: javafx.application.Application

jfxrt.jar is not on the classpath.

Probably, you do not package your application using JavaFX packaging tools (if not the pitcher whose links with your application package manager would have found jfxrt.jar and used).

http://docs.Oracle.com/JavaFX/2/deployment/packaging.htm

Tags: Java

Similar Questions

  • EJB or ADF (with the HELP of REST), the 12 c ADF business components

    Hi all

    I have a simple question to ask. I need to create a project to expose Web services from another project and third party possible.

    I need to use Rest services producing Json.

    So my question is: can I create my Web services using EJB or ADF business components? That who and why?

    EJB seems to be a little more simple/fast to implement.

    Best regards

    Luis Cabaco

    You have experience in the use of EJB or ADF BC in other projects? This could influence your decision.

    This moment (12.1.3) to produce the JSON ADF BC, you will need to code the solution.

    The plan should provide declaratively to expose REST JSON ADF BC in the next 12.2.1 release.

  • EJB with Rest service to return a blob object

    Hello

    I worked with EJB and Services Rest and now I have this situation.

    I'm trying to present an image saved on my DB as a BLOB, but when I test my service I get no results.

    My entity like the following for the blob, auto generated code

    private byte[] thememo;
    
        public byte[] getThememo() {
            return thememo;
        }
    
        public void setThememo(byte[] thememo) {
            this.thememo = thememo;
        }
    
    
    

    and these are queries, both to return the same, I added

    @NamedQuery(name = "Memos.findPhoto", query = "select o.thememo from Memos o where o.sourceid = :recid and o.memotyp = 101"),
    @NamedQuery(name = "Memos.getPhoto", query = "select 'image/jpeg', o.thememo from Memos o where o.sourceid = :recid and o.memotyp = 101")
    
    
    

    When you are looking for something that might explain to me on how to accomplish what I want, I found a link stating to add this "image/jpeg", before the column that as Creating RESTful Web Service for the recovery of the BLOB blob

    and when I add these requests based on my SessionBean through façade are the results I get

        /** <code>select o.thememo from Memos o where o.sourceid = :recid and o.memotyp = 101</code> */
        @TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED)
        public List<Byte> getMemosFindPhoto(String recid) {
            return em.createNamedQuery("Memos.findPhoto", Memos.class).setParameter("recid", recid).getResultList();
        }
    
        /** <code>select 'image/jpeg', o.thememo from Memos o where o.sourceid = :recid and o.memotyp = 101</code> */
        @TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED)
        public List<Object[]> getMemosGetPhoto(String recid) {
            return em.createNamedQuery("Memos.getPhoto", Memos.class).setParameter("recid", recid).getResultList();
        }
    
    
    

    The first gives me a list of bytes and the other a list of array of objects, and the only thing I want to come back is the blob as an image.

    The two statements in my SessionBean are errors, "Incompatible Types" but this has been generated.

    Without these functions, when I try to add the service to my JAXB schema it will not allow him.

    What am I doing wrong, or that I lack I?

    I use JDev 12.1.3.0

    Thank you

    and when I add "image/jpeg", "image/jpeg","image/jpeg",

    Well, you can create new named queries or change existing, what corresponds to your use case.

    For example, you can change

    @NamedQuery (name = "Memos.findPhoto", query = "" select memos o where o.sourceid = o.thememo: o.memotyp and recid = 101 "").

    TO:

    @NamedQuery (name = "Memos.findPhoto", query = "" select o o memos where o.sourceid =: recid and o.memotyp = 101 "").

    Then use the strongly typed named query (em.createNamedQuery ("Memos.findPhoto", Memos.class)) for map results to your entity of memos.

    Or you can use @NamedQuery which returns only your image (but then you must use createNamedQuery() with a parameter).

    After that, you can add the new method to your interface (or modify existing)

    etc.

    Dario

  • Project maven build automation with Jenkins ADF

    Hello

    We use JDeveloper 12 c and try to automate generations using Maven and Jenkins. I have some experience with Maven and Jenkins but not much. So my question is it possible to call ojmake and ojdeploy via Maven of Jenkins.

    I added the POMs of projects and the application and I can create a JDeveloper EAR using Maven very well. However, when I try to do on Jenkins he fails because it tries to download ojmake and ojdeploy from the repository and they do not exist here.

    Any help would be great.


    Thank you

    Vlad

    OK, nevermind, I thought about it. In the http://www.oracle.com/technetwork/developer-tools/jdev/documentation/1212-nf-1964675.html section of the development of the team, I've noticed 'Plugins Maven for ojmake and ojdeploy'. So I just had to look for each other in ORACLE_HOME for the pot and the pom for two plugins.

  • How to adopt the validation of level entity such as BC ADF using EJB/JPA?

    I explore how to implement validation to entity level using the EJB/JPA instead of ADF BC. (Note: I use JDeveloper + ADF 12 c)

    1. I cannot add validation attribute level in the ADF (Data Control) of EJB model layer. but it is not enough. I can just code partial UI validation here.

    2. I googled and find that someone is using jsr-303-bean-validation. What is a unique choice? How the entity-level validation code?

    Validation of the JPA EJB ADF application entity

    3. I want to implement certain business validation and processing business in the layer of business ADF service, as in the EJB method.

    I did a simple test to simulate an exception, but I found the exception has been handled incorrectly in the layer of binding of ADF and error dialog box prompt: DCA-29000: Unexpected exception caught: java.lang.reflect.InvocationTargetException, msg = null.

        public Departments persistDepartments(Departments departments) {
            if(true){
              throw new RuntimeException("persistDepartments");
            }
            em.persist(departments);
            return departments;
        }
    
    
    
    

    Any expert can help? will I have to rewrite the ADF Model layer error handling? How to code the validation in EJB? you will need to take local and manipulate it in class in the ADF error handling model layer? where can I find a demo?

    4. I want to introduce a layer of application service between EJB session façade and JPA entity for the re-use of the company.  but I found JDeveloper helps me to do anything. I do code manually, when I create EJB session façade, it always integrate directly with JPA entity inside.  I expect that my application service is class instead of the EJB POJO.  Session EJB façade summons enforcement and demand serviceshall call JPA entity services.  is this possible? any sugguestion?

    Thank you

    Qn1, the ADF Model layer Validation are supported at the level of the validation attribute. It is confirmed.

    Qn2, it seems that this is a better solution, but is not Explorer so far.

    Qn3 is resloved by creating a custom error handler to extract a validation thrown from EJB exception and at the same time, it cannot be avoided that the thrown exception of service business layer is still dumped at MTS-out.

    Qn4 is reslolved by employment Commission to inject POJO, EJB session faade and inject POJO EntityManager (use JTA transaction).

    Thanks to you all!

  • How can we consider jsp changes without deployment in jboss EAP - version 5.1.2

    Hi Experts,

    I use version 5.1.2 - EAP-jboss as server applications for ATG 10.1.2 application.

    If I change the names of labels or all small changes in JSP pages, the changes do not think in application.

    View the changes that I need to reboot the server so only I'm able to see these changes.

    with difficult deployment I want to see the changes.

    In jboss EAP - 5.1.0 this problem isn't here, we can learn jsp changes without restarting the server.

    Can you please help me to overcome this problem.

    Thank you and best regards,

    Murali.Ch

    Make the following changes in you web.xml under /jboss/Server//deployers/jbossweb.deployer/web.xml

    Under,


       jsp
       org.apache.jasper.servlet.JspServlet

    Add the following


       development
       true
     

     
       modificationTestInterval
       0
     

    This will recompile your jsp on the fly.

    Just make sure that this feature is only enabled for development environments and you turn it off in PRODUCTION.

    I hope this helps!

    ~ Yvan

  • weblogic EJB myeclispe error

    I use the ejb 2 with myeclipse 9 and weblogic 9. I am learning java ee. trying to use myeclipse.just with ejb2 test have not yet begun ejb3. get following error when I run my client application.

    error:
    Exception in thread "main" javax.naming.NoInitialContextException: need to specify the class name in the environment or property of the system, as a cmdlet parameter or in a file of application resources: java.naming.factory.initial
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:645)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
    at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:284)
    at javax.naming.InitialContext.lookup(InitialContext.java:351)
    at WishClient.main (WishClient.java:13)


    my files


    Wish.Java

    import java.rmi.RemoteException;

    public interface wish
    extends from javax.ejb.EJBObject
    {
    public String getMonthName() throws RemoteException;
    public String getDayName() throws RemoteException;
    public String generateWishMsg (String name) throws RemoteException;
    }



    WishHome.java

    public interface WishHome
    extends from javax.ejb.EJBHome
    {
    public static final String COMP_NAME = "" java: comp/env/ejb/Wish ";"
    public static final String JNDI_NAME = "Wish."

    public wish create()
    throws javax.ejb.CreateException, java.rmi.RemoteException;

    }


    WishClient.java

    Import Java.util;
    Javax.naming import. *;
    public class WishClient {}


    Public Shared Sub main (String [] args) throws Exception {}
    TODO self-generating method stub
    Hashtable ht = new Hashtable();

    HT.put (Context.INITIAL_CONTEXT_FACTORY, "WebLogic.JNDI.WLInitialContextFactory");
    HT.put(Context.PROVIDER_URL,"T3://localhost:7001");
    InitialContext ic = new world;
    WishHome hor = (WishHome) ic.lookup ("WishJndi");
    Here eor = hor.create ();
    System.out.println ("name of day of week =" + eor.getDayName ());
    System.out.println ("Month Name =" + eor.getMonthName ());
    System.out.println ("hold Message =" + eor.generateWishMsg ("Raj"));
    }

    }


    WishBean.java

    import java.rmi.RemoteException;

    Import javax.ejb.EJBException;
    to import javax.ejb.SessionBean;
    Import javax.ejb.SessionContext;
    Import Java.util;


    / public class WishBean implements SessionBean {}

    / The session climate * /.
    private SessionContext context

    public void ejbCreate() {}
    System.out.println ("ejbCreate ()");
    }

    public WishBean() {}
    TODO auto-generated constructor stub
    }

    Public Sub ejbActivate() get EJBException, {RemoteException
    TODO self-generating method stub

    }

    Public Sub ejbPassivate() get EJBException, {RemoteException
    TODO self-generating method stub

    }

    Public Sub ejbRemove() get EJBException, {RemoteException
    TODO self-generating method stub

    }


    public void setSessionContext (SessionContext newContext)
    get EJBException {}
    context = newContext;
    }

    public String getMonthName() {}
    System.out.println ("getMonthName ()");
    String [] months = new String() {"jan", "feb", "mar", "Apr", '' may '', "jun", "Jul", "aug", "sep", "oct", "nov", 'dec'};
    Calendar cl = Calendar.getInstance ();
    int m = cl.get (Calendar.MONTH);
    back month [m];
    }

    public String getDayName() {}
    System.out.println ("getDayName ()");
    String [] weeks = new String() {'',' Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'};
    Calendar cl = Calendar.getInstance ();
    int w = cl.get (Calendar.DAY_OF_WEEK);
    return of the weeks [w];
    }


    public String generateWishMsg (String name) throws EJBException {}
    Rename and start putting your logic here
    System.out.println ("generateWishMsg ()");
    Calendar cl = Calendar.getInstance ();
    int h = cl.get (Calendar.HOUR_OF_DAY);
    If (h < = 12)
    Return "Hello" + name;
    ElseIf (h < = 16)
    Return "Hello" + name;
    on the other
    Return "Hello" + name;
    }

    }


    EJB - jar. XML

    < ejb - jar >
    < some enterprise beans - >
    < session >
    ABC < ejb-name > < / ejb-name >

    < Home > WishHome < / home >
    < remote > here < / distance >

    > class ejb < WishBean < / ejb-class >
    Stateless < session type > - < / session type >
    Container < transaction-type > < / transaction-type >

    < / session >

    < / enterprise beans >

    < / ejb - jar >


    WebLogic-ejb - jar.Xml


    < weblogic-ejb-jar >

    < weblogic-company-bean >
    ABC < ejb-name > < / ejb-name >
    < jndi name - > WishJndi < / jndi-name >
    < / weblogic-company-bean >
    < / weblogic-ejb-jar >

    1. can you be it someone please tell me why I get the error. How should I solve it.
    2. when I use xdoclet to generate the beans, home interface and xml files. It automatically generating the jndi name. Like this


    public static final String COMP_NAME = "" java: comp/env/ejb/Wish ";"
    public static final String JNDI_NAME = "Wish."

    so I commented on them and used my own name jndi in weblogic - ejb - jar.Xml. is it wrong to do this? How is it these variables have declared me in my home interface. Why and how they are used. and I did not understand the structure-> java: comp/env/ejb/Wish... does that mean? I am a newbie. so please explain clearly.

    Do not

    InitialContext ic = new InitialContext(); 
    

    Instead do

    Context ctx = new InitialContext(ht);
    

    Ensure you provide your hashmap with the context properties

  • Not getting foreign key fields not filled in datacontrol palette for EJB app

    Hello

    I am quite new FAD and EJB. I developed an application jdeveloper with levels of JSF and EJB. (I use jdeveloper 10.1.3.5)
    For the database to the default human resources database is used. I created the entities for the table EMPLOYEES and DEPARTMENTS.
    I also created a session bean and a data control to the session bean.
    I'm having a JSF page that receives all the details of a new employee and insert into the database (i.e. persistEntity)
    But the constructor used in the data control palette is not filling the MANAGERID and DEPARTMENTID, fields that are
    the foreign key constraints for table and EMPLOYEES by result while trying to make persistent entity
    with automatically filled fields, an error message is thrown.
    If I've used ADF BC instead of the EJB then I could fill all the fields including MANAGERID and DEPARTMENTID.
    Is it possible to have two fields text Manager and Department in the jsf to insert the details of the employee with EJB as a model?.
    If possible how to bind the values of these fields to the entity used in EJB object.


    Kindly need your ideas on this.

    Thank you
    Guna.

    Hello

    How you use MANAGER_ID and department_id fields, they also flush long (or another digital type), or you don't have them mapped to the entity, something like this

    ....
    @ManyToOne
    private Employee manager; // this by default uses the column named MANAGER_ID
    @ManyToOne
    private Department department; // this by default uses the column named DEPARTMENT_ID
    ....
    

    If you have mapped them (which is the right path), when you create an employee, you must set these attributes to the persistence of the entity, using employee.setManager (manager) and employee.setDepartment (department). Then, foreign keys filled automatically by your persistence provider (Toplink).

    If you use data controls, it's a little different process to define the Manager and the Department, but you should take a look at this tutorial http://www.oracle.com/technology/obe/obe11jdev/ps1/ejb/ejb.html, it will answer many of your questions hopefully.

    Pedja

  • Several JDK: Can I install to jdk 1.6 and is jdk 1.7 on the same pc?

    I'm quite new in the world of software do a career change after 15 long years of sales. So please forgive me if my question is trivial.

    I downloaded the jdk is 1.7

    The two ad JDeveloper 11.1.2 SQL Developer 3.1 requires that the version of jdk used must be1.6.xx. the jdk 1.7 is already installed on my pc. Now, if I download jdk 1.6.xx and install it. I can do it on the same pc? or I have to first uninstall the jdk 1.7 and then install the jdk 1.6.

    I intend to work on developing Java EE applications. Can I also have Java EE jdk 1.6 installed on the same pc. With so many JDK, I'm really confused.

    Help, please.

    Any type of problem. In fact, you can install the 32-bit and 64-bit Java on the same machine without problem.

    Java EE jdk 1.6 I have

    You're wrong there. JavaEE is only a specifications implemented by an application server. for example, Glassfish or JBoss. You do not install a separate JDK for this, just use the one you already have. Allows you to flatten a bit for you:

    -There is only one regular Java for PC: JavaSE or "standard edition". It has many versions, Java 7 is the latest version.
    -To be able to run Java applications, you need the Java Runtime, or JRE.
    -To be able to build Java applications, you need the SDK Java, or JDK.
    -on top of JavaSE there now also JavaFX2, who has his own execution. But even there JavaSE is always the base. You don't need JavaFX passing.

    -JavaEE is a specifications related to an important collection of API (JMS, EJB, JPA, etc..)
    -Application servers implementing this specification, and provide implementations for the API

    You might be confused as how to compile enterprise applications. You build applications using the JDK regular JavaSE (because it contains the Java compiler), but your application will fail compile because you're missing all the APIs that mandate the JavaEE specification. Usually, you deal with this in the framework or a specialized IDE project which adds API appropriate for your project, jars adds jars from the application server to your project or you use something like Maven to manage the dependencies of the company yourself.

    What does all this tell you? I'll summarize for you:

    -you need a Java JDK 6. Choose the one that matches your CPU architecture
    -you need an application server to complete part of the equation JavaEE
    -you need a method (IDE, Maven) to correctly incorporate JavaEE dependencies in the classpath of time compiling your project and be able to easily create the "binary" company (war, ejb jar, ear)

    That's all. And it's not easy.

  • Add address of the sender to the address book using filtaquilla?

    When the sender is not in the address book, I want to give the user an option to add it. Is this possible with filtaquilla?

    There is a filter action, provided by FiltaQuilla, to "Add sender to the address list", and among all the proposed locations, your address books are included.

    But I see no way easy to offer the user a dialog to allow him to choose or not to do. Perhaps a javascript maven could do something here.

    Any sender can easily be added to the address book by clicking on its name/address in the header of the received message. Maybe you can use a filter just to highlight the messages from unknown senders in order to prompt the user to consider adding to their address book. Or you can create a saved search to collect such messages. Then, their mere presence in this saved search folder would indicate their status is unknown.

  • Problems with the screen capture function

    Very well. I've read the help file on the computer and perform a search on screen captures on the forums, I found the help file.

    My screenshot function does not work. I tried different combinations of buttons according to what each recommended help file and it does not work.

    I worked with other operating systems that allow the user to enter a settings menu and manually configure a key for the screenshots.  Is this possible with vista?  If Yes, where can I find it?  The help files are a little vague.

    I should also mention that I am not the first owner of this laptop, so it is quite possible that the previous owner has changed a setting somewhere along the way.

    Any help is appreciated. Thank you.

    PrintScreen and ALT + PrintScreen are the usual combinations.  Check the manual for your specific computer model to see if using a different combination. See if paste in a program other than Paint made work.
    Boulder computer Maven
    Most Microsoft Valuable Professional

  • problem with static bitmap initializer

    I migrated my main current project of the JDE to Eclipse + plugin now (since we created a script of maven that copies of our class in the project library, it is possible).

    I use a utility class to initialize all the images I use private constructor and only static members.

    However, none of the images is correctly initialized.

    Here is the code for the BitmapProvider class:

    public static final EncodedImage BUSINESS_INDICATOR_24 = EncodedImage.getEncodedImageResource("symbol2424.png");
    

    to debug, I create the same static image on TIME. This method works correctly.

    encodedImage is well settled, however, BitmapProvider.INDICATOR_24 is not.

    EncodedImage encodedImage = EncodedImage.getEncodedImageResource("symbol2424.png");
    ApplicationIcon indicatorIcon = new ApplicationIcon(BitmapProvider.INDICATOR_24);
    

    I do not have ANY code change, the static initializer to work properly in the JDE.

    To the nth attempt the debugger is entered in the static code (so it is executed).

    The culprit was the overview of the application icon.

    After a few experiences and shamanic tips of my colleague about something similar two years ago, I removed this icon of the application descriptor.

    And now it works.

    Quite strange, the normal application icon is recovered in the static method, if an icon is marked as Overview icon in the application descriptor that it cannot be used in the application more.

  • WebSphere Message Driven Bean pool lack of warning

    I receive after alarm frequently to an application running on WAS v7.

    Subject: JVMNAME_c1: WebSphere Message Driven Bean pool lack of warning

    Message Driven Bean 'JVMNAME_MDB' in the 'APPLICATIONEAR' application server 'JVM1' has a high percentage of pool narrowly with a percentage of 33% Miss. This exceeds the threshold of 25% warning. Please use the following URL for details of the alarm: https://xxxxxxxxxxx.

    According to the Foglight documents:

    If you experience performance problems, check the following:

    The minimum value of the pool size is set too low, so the container must keep naming new swimming entity bean

    ·         Try increasing the minimum size of pool on your application.

    The maximum value of the pool size is set too low, so any thread tries to get an entity bean from the pool to wait in the queue

    ·         Try to increase the number of maximum pool size on your application. For example, assign something exceeds the maximum number of concurrent users.

    I tried to increase the minimum values and maximum pool one at a time, but it did not help. The pool, I changed values to is the Thread Pool found here:

    Application servers--> "server_name"--> service listening for Message--> thread pool.

    Is this the correct pool, I should be hilarious? OR should I change the found here - QCF connection/session pool resources--> JMS--> factories of connection of the queue--> "QCF_NAME"--> Session/connection pools?

    Thanks in advance.

    You have access to the developer or the person who developed the archive application?

    In general as part of an ear or application jar file there are definitions of the minimum number of Maximum number of EJB and EJB in the pool, I think they are in WebSphere ejb - jar.xml and should look something like this.

    2000

    1000

    I see this in the IBM site on weblogic for websphere migration which can give more info

    http://www.IBM.com/developerWorks/WebSphere/library/techarticles/0706_vines/0706_vines.html#sec4c

    C. max-beans-in-free-pool and initial-beans-in-free-pool

    The element of max-beans-in free-pool sets the maximum size of the EJB free pool for a specific entity bean, bean session without State or message-driven bean. Each bean class can define the size of its own pool for free using this element.

    The element initial-beans on free-pool sets the initial number of instances of bean that will fill the free pool for a specific startup bean class. Filling the free pool with bodies improves initial response times, as initial applications for the bean can be met without generating a new instance.

    In WebLogic, every bean in the application can specify that its initial and maximum pool size and pool size may vary considerably from one Bean to another class.  To determine the specific pool size, see the weblogic-ejb - jar.xml for one of these items:


    To specify the size of the EJB pool in WebSphere Application Server, you can add an argument of the system to the JVM:

    1. In the administration console, select application-online-online Process Definition servername server => Java Virtual Machine.
    2. Add com.ibm.websphere.ejbcontainer.poolSize to the area of Generic JVM arguments, after all the existing JVM arguments. Here is an example that sets the size of the pool maximum and minimum of 1-5 for a bean called RuleEngineEJB:
    -Dcom.ibm.websphere.ejbcontainer.poolSize = myapp #RulesEngine.jar #example. RulesEngineEJB = 1, 5

    For more details, see WebSphere Tuning EJB container .

    Hope this helps

    Golan

  • With Json REST Web services only accepts objects?

    Hello

    With the help of JDEV 12.1.3.0.0 is it possible to send webservice one list and receive it in the client side?

    I wanted to just this:

    @Stateless

    @Path ("/costumer")

    public class CostumerImpl {}

    @EJB

    SessionEJBnameLocal myBean;

    @GET

    @Produces (value = {"application/json", "application/xml"})

    @Path ("/ list")

    public list < CostumerEO > lista() {}

    Return myBean.getCostumerEOFindAll ();

    }

    }

    The only way I found was to create an object with a list, as showned below, send this object and this way has worked:

    @XmlRootElement

    public class {CustomerList

    List < Customer > customerList = new ArrayList < customer > ();

    {} public void setCustomerList (List < Customer > customerList)

    this.customerList = list of customers;

    }

    @XmlElement (name = "allcustomers")

    public List < Customer > getCustomerList() {}

    return list of customers;

    }

    }

    But I want is not to create this object.

    Is this possible?

    JDev 12.1.3.0.0

    Any help would be appreciated.

    Concerning

    Carlos

    I got it to work.

    I went to andrejus apllication lib, got jackson jars, add to my library and the class paths and the test.

    She returned to the country of my comic.

    Now, I can have a class webservice producing json from the BC model without the need for other java classes to parse json or lists.

    Thank you all.

  • Oracle BAM issue

    Hello

    When BAM server managed below starting messages are met

    us > > <><>< 1441096913601 > < BEA-010061 > < The Message - Driven EJB: MessageDispatcherBean is unable to connect to the JMS destination: topic/oracle.bam.messaging.systemobjectnotification. The error was:

    The destination for the MessageDispatcherBean(Application: oracle-bam#11.1.1, EJBComponent: sdpmessagingclient-ejb.jar) MDB could not be resolved at this time.  Please make sure that the destination is available at JNDI name topic/oracle.bam.messaging.systemobjectnotification.  The EJB container periodically attempt to resolve this MDB destination and additional warnings may be issued. >

    also

    When tried to connect to console BAM the below error message is encounterd

    # < 1 MS, 2015 14:06:53 IST > < Info > < EJB > < MYINVSBLRTMDA01 > < BAM-MS-1 > < ExecuteThread [ASSET]: '15' for queue: '(self-adjusting) weblogic.kernel.Default' > < weblogic > <><>< 1441096613866 > < BEA-010227 > < EJB Exception occurred during invocation of home or business: weblogic.ejb.container.internal.StatelessEJBHomeImpl@66ba82c1 threw the exception: oracle.bam.common.remoting.ServiceUnavailableException : BAM-00223: oracle.bam.adc.common.core.IDataStore Service is not available. >

    Help, please.

    Thank you

    RAM

    Hello

    The first question as shown below

    <1441096913601>

    The destination for the MessageDispatcherBean(Application: oracle-bam#11.1.1, EJBComponent: sdpmessagingclient-ejb.jar) MDB could not be resolved at this time.  Please make sure that the destination is available at JNDI name topic/oracle.bam.messaging.systemobjectnotification.  The EJB container periodically attempt to resolve this MDB destination and additional warnings may be issued. >

    has been caused because MDB application oracle bam was not connected to the e-mail system, to verify the same from Weblogic console goto deployments-online oracle-bam (11.1.1)-online

    -Online health monitoring

    MessageDispatcherBean (topic/oracle.bam.messaging.systemobjectnotification) will be on alert with good reason as: MDB application oracle bam is not connected to the messaging system.

    The problem has been resolved by following the steps below:

    targeting the oracle library oracle.sdp.messaging (11.1.1,11.1.1) managed BAM server followed by the underside of the changes in the BAMJmsSystemResource of the JMS Modules

    (1) in BAMJmsSystemResource Modules JMS changed the target of BAMJMSConnectionFactory to BAM Managed Server

    (2) changed the target of BAMJMSServer_auto_1 and BAMJMSServer_auto_2 to BAM Managed Server followed of rebooting the server managed from BAM.

    Verify that the status of MDB to oracle-bam-online Monitoring => Helath and showed the form of MDB application connected to the messaging system.

    Kind regards

    RAM

Maybe you are looking for