I have a web service client that has an Authenticator class. The Authenticator requires a username/password. Looking for ideas on how best to wire this. Should I inject the user/pass into the...
Type: Posts; User: jcman01; Keyword(s):
I have a web service client that has an Authenticator class. The Authenticator requires a username/password. Looking for ideas on how best to wire this. Should I inject the user/pass into the...
I have a method that looks like this, and is used by the client in the manner shown in the 2nd code snippet. I am using Spring beans in my app, so I am wondering if Spring has their own way of doing...
I am tasked with using Spring to create a client for a legacy SOAP web service. The web service cannot be altered so I cannot change the constructor. As I understand it, I need to create a bean for...
You are correct. Unfortunately I am having to learn both Hibernate and Spring simultaneously, and am finding it a bit overwhelming to learn both at the same time. Everyone's learning style is...
Thanks for your patience. My learning style is such that I learn better if I get something working and then play with it, rather than spiral into frustration trying to get this working. I will...
I am able to run my little test app using openSession, but when I use getCurrentSession, I get an error. I think I have checked all the usual suspects. I have ensured that I don't have...
BTW, just pre-ordered your book on Amazon.
Sorry if this reply is duplicate. I saw the code you posted, but I thought you were just re-stating mine. I tried it, and it worked! Thank you so much. I am getting a small mapping error, but...
But isn't the SessionFactory being instantiated by Spring? Any sugggestions on how I can get myself out of this mess? I found this example on the web. Maybe it was "faulty".
I guess another way...
Hi Marten. I appreciate the benefit of your experience and knowledge here. I am a newbie, but I want to do this right. I can get it working using the old HibernateUtil method, but I know that's...
I am getting the following error while trying to pass in values from a properties file to Spring, so that I don't have to supply them directly in hibernate.cfg.xml. Is there a better (and correct)...
Can you give me some more details on what I should do here? I know how to get an app context, but what do I do with it?
Gracias por tu respuesta. Saludos desde Washington DC.
Thanks for the advice. Looking forward to your book.
I am trying to wire-up my first Spring/Hibernate project, and I think I got everything cross-wired. The following code is giving me "Exception in thread "main" org.hibernate.HibernateException:...
Is HibernateTemplate now obsolete? I have been reading that it is. Should I use SessionFactory? Extend HibernateDAO? I am a little confused about what the current thinking is.
I am working on my first hibernate project. I have been trying to get this to work for so long that my head is throbbing. Can someone spot the error that is giving me the "No CurrentSessionContext...
I am new to Spring trying to run a training example. I am getting nowhere. No matter what I do, I cannot get it to display the JSP that is mapped to viewAllBooks. It just throws a 404 saying "The...
Ah. Got it. Thanks very much.
I am trying to learn Spring, and I thought I had created all the required objects. Can someone tell me why I still get the exception? The student object is created. Sorry if this is a basic...