Results 1 to 2 of 2

Thread: jee:jndi-lookup issue

  1. #1
    Join Date
    Oct 2009
    Location
    Milano
    Posts
    49

    Default jee:jndi-lookup issue

    is jee:jndi-lookup supposed to declare an EntityManagerFactory or a DataSource?

    i'm trying to use my jndi connection with jetty but when putting

    <jee:jndi-lookup id="ddd" jndi-name="jdbc/__myddd" />

    it seems that i'm declaring a DataSource bean
    2+2=5

  2. #2
    Join Date
    Jun 2006
    Location
    The Netherlands
    Posts
    13,625

    Default

    is jee:jndi-lookup supposed to declare an EntityManagerFactory or a DataSource?
    Whatever is in the JNDI tree... Could be an EntityManagerFactory, DataSource, ConnectionFactory, String, Long any arbitrary object... I suggest a read on JNDI...
    Marten Deinum
    Java Consultant / Pragmatist / Open Source Enthousiast / Author


    Pro Spring MVC: With Web Flow
    Conspect

    Have you read the reference guide.
    Use the [ code ] tags, young padawan

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •