Java Products
- "before i Spring ? " pre-requisites
- Thu, 17 Jul 2008 17:58:00 GMT
- hii would like to know,1. what are the basic things i need to know before i can start of with Spring ?2. do i need to know struts ? (i don't know struts)and, i have just started off with servlets and jsp.thanks...
- "Many WARs in one EAR" or "Code organization with Spring/Hibernate"
- Wed, 16 Jul 2008 13:54:00 GMT
- Hi there!I wonder, what is the proper code organization with Spring, when I have one EAR with numerous WARs inside, and all these WARs suppose to use Hibernate, and any of WARs can use any of Hibernate's mapping POJOs.So it looks like in this EAR we need to have one "business logic", which a...
- ${pageContext} is not working with Spring
- Wed, 16 Jul 2008 13:56:00 GMT
- Hi.I'm integerating Struts with Spring and every thing is ok.My JSPs use the following line :<link ref="${pageContext.servletContect}/styles/style.css" rel ... />But the pervious line has no effect !After Rendering the page, the following line appears :<link ref="org.apache.catalina...
- ( IBatis ) After inserting values into database ibatis is returning null
- Wed, 16 Jul 2008 13:48:00 GMT
- I have this code in my Enquiry.xml filecode:<insert id="saveEnq" parameterClass="EnquiryBean123"> insert into user_enquiry ( Name, Email, Phone, Course, DoEnq, Media ) values ( #name#, #email#, #contactNumber#, #course#, #dateOfEnquiry#, #media# ) </insert>Reader r =Resources.getReso...
- Welcome Alexander Kolesnikov
- Wed, 16 Jul 2008 13:49:00 GMT
- This week, we're delighted to have Alexander Kolesnikov helping to answer questions about the new book Tapestry 5: Building Web Applications.The promotion starts Tuesday, March 4th 2008 and will end on Friday, March 7th 2008.We'll be selecting four random posters in this forum to win a f...
- Welcome Martijn Dashorst & Eelco Hillenius
- Wed, 16 Jul 2008 13:48:00 GMT
- This week, we're delighted to have Martijn Dashorst & Eelco Hillenius helping to answer questions about the new book Wicket in Action.The promotion starts Tuesday, May 20th 2008 and will end on Friday, May 23rd 2008.We'll be selecting four random posters in this forum to win a free copy...
- Winners: Tapestry 5: Building Web Applications
- Wed, 16 Jul 2008 13:48:00 GMT
- First, a big thanks to Alexander Kolesnikov for being here to promote the book Tapestry 5: Building Web Applications.The winners are:Jim Harrissri devMichael Swierczeksreerupa basuPlease send your snail mail address to bookpromotion AT javaranch DOT com. To ensure the quickest response, please p...
- Winners: Wicket in Action
- Wed, 16 Jul 2008 13:48:00 GMT
- First, a big thanks to Martijn Dashorst & Eelco Hillenius for being here to promote the book Wicket in Action.The winners are:Erik OstermuellerAlaa NassefLasse KoskelaSekhar ChandPlease send your snail mail address to bookpromotion AT javaranch DOT com. To ensure the quickest response, please pr...
- @Configurable annotation not working
- Wed, 16 Jul 2008 13:48:00 GMT
- Hi while going through a tutorial i tried to used .thatisjava.com.Configurable annotation to instantiate a class out side the Spring container.In my xxxContext.xml i have written the below code:code: <aop:spring-configured /> <bean id="classToTestConfigurable" class="com.ram.configurabletest.ClassToTe...
- @if component Tapestry
- Wed, 16 Jul 2008 13:56:00 GMT
- Hello! I have just started working with tapestry. I m having some problems with tapestry If component. here are some.1- Some help materail required ... Like examples and etc.2- How to check Conditions like ( a==10 && b ==20)in If component?3- How to use if-else-if? ... If any...4- How can i rest...
- [SOLVED] This is going to drive me nuts
- Wed, 16 Jul 2008 13:50:00 GMT
- I have been staring at this for 2 days and I am about to go insane. I have several dropdowns on a page that are populated from a database. Every single one of them works, except 1. And it worked fine before I started using Spring.All these dropdown values are pulled from tables that have 2 colum...
- [Spring + Java Web Service] bean property not injected
- Wed, 16 Jul 2008 13:48:00 GMT
- Hi,I'm developing a project using Hibernate + Spring + Java Web Service + Sun Application Server (Glassfish). My Hibnernate DAOs and Services work fine when I unit test them. I have a problem when I tried to test the web-service, all the DAOs that is being used by the web service that I'...
- [spring] aop config
- Wed, 16 Jul 2008 13:48:00 GMT
- hii use spring and i try to use aop.before some method of a class been called, i would like to check if the user have the correct access to do it...my filescode: <aop:config> <aop ointcut id="servicePointcut" expression="execution(public * com.server.admin.logic.UserAdminImpl.getUser(....
- [Spring] Doubt using customized property editor
- Wed, 16 Jul 2008 13:48:00 GMT
- Hi all, I am trying to create a cutom property editor where i extend the CustomEditorConfigurer class and override the setAsText method. How to i wire the bean in the xml file. I tried the sample example given in Sprin In Action but what should i enter in the <entry key > tag as?<bean i...
- [Spring] Doubt when adding BeanPostProcessor
- Wed, 16 Jul 2008 13:48:00 GMT
- Hi, How to add a bean postprocessor to the factory i.e Bean factory. In the ook its givben as factory.addBeanPostProcessor(ClassImplementingBeanPostProcessor) but there is no API like that in BeanFactory. Kindly revert back with the solution.Cheers!!!Pradeep[ May 21, 2008: Message edited by: Las...
- [Spring] How deep IoC & Aspect?
- Wed, 16 Jul 2008 13:56:00 GMT
- I just started looking at Apress Expert Spring MVC and Web Flow book (web development is my interest).How deep we should know IoC (Dependency Injection) and Aspect-Oriented programming to utilize or understand Spring?is there a Spring book/online tutorial (with plain English), if possible that d...
- [Spring] IoC & DAO
- Wed, 16 Jul 2008 13:51:00 GMT
- The only thing I ever use Spring for is to help manage my DAO's and Services. To be more specific I create a datasource, inject that into a jdbcTemplate, inject that into a DAO, and at times, inject one or more DAO's into one or more Service classes.While this works well, it does create...
- [Spring] Obtain a session or request object
- Wed, 16 Jul 2008 13:55:00 GMT
- Hi all,I am trying to add some authentication to my application.I have a Request interceptor which checks for the existance of a user in the session, if its there it is ok, otherwise it redirects to the logon page.When a user hist the logon page, the username and password field are valdiated usi...
- [SPRING] problem with oracle LOB
- Wed, 16 Jul 2008 13:56:00 GMT
- Hello,I'm using Spring with Hibernate to do the DB-handling. Everything works fine except when I try to store a LOB object in the oracle DB.I get the following DataAccessResourceFailureException which is in fact a wrapper for a [java.rmi.MarshalException] :code: at org.springframework.jdbc.s...
- [Spring+JBoss] IllegalAccessError - please help!
- Wed, 16 Jul 2008 13:56:00 GMT
- Hi,I am not sure if this is the right forum for this question. But I am desperate would appreciate any help.I am building a web-based application within the Spring framework. The application is running on JBoss. I used to get the following error (enclosed at the end) off-and-on and would go away...
- [Wicket] Adding AjaxFormSubmitBehavior to IndicatingAjaxButton problems
- Wed, 16 Jul 2008 13:48:00 GMT
- Hi,sir:I am newbie.I have a file upload web page and want to use AJAX to submit form.So I use IndicatingAjaxButton and add an AjaxFormSubmitBehavior to this button.Here is code snippet: ajaxFormSubmitBehavior = new AjaxFormSubmitBehavior(uploadForm, "onclick") { protected void onSubmit(AjaxReque...
- [Wicket] Can't see progress in progressBar
- Wed, 16 Jul 2008 13:48:00 GMT
- Hi~I run the "upload - Single file upload." in wicket-examples-1.3.3 and found that I could not see a progress running.I mean I want to see, for example, percentage or how many bytes uploaded or a bar running from left to right.Hope you know what I am saying.So anyone can tell me why I can't...
- [Wicket] Form Binding Overly Complex?
- Wed, 16 Jul 2008 13:48:00 GMT
- First let me say that I don't not like Wicket. And I dig the Wicket community a lot. It's full of really cool folks. I don't intend for this to turn into a framework war so this question is more for the sake of my own education.I'm a big Stripes fan and its form binding is elegan...
- [Wicket] Localization of page layout
- Wed, 16 Jul 2008 13:48:00 GMT
- As a sort of continuation of this earlier question, I'd be curious to hear what kind of an approach should one take with Wicket to support layout-level localization, e.g. when bits of the page need to be positioned to a different place for certain locales or when text content needs to flow r...
- 1-to-1 Hibernate Mapping Problem
- Wed, 16 Jul 2008 13:54:00 GMT
- Hi,I'm creating a 1-to-1 association with Hibernate using unique foreign key associations. My two objects are User and Login.But I encountered the following errors: [java] net.sf.hibernate.MappingException: An association from the table USER refers to an unmapped class: com.finport.user.Logi...
- 2 Spring context files
- Wed, 16 Jul 2008 13:54:00 GMT
- If I have 2 Spring context files in my web application and both are loaded, can a bean in the first file be wired to a bean in the second file? Will there be such a visibility?ThanksDevi...
- A forum like system based on Struts
- Wed, 16 Jul 2008 13:48:00 GMT
- Hi,I am new to J2EE as such. I have to build a system like forums using a J2EE framework. I would like to know the J2EE components such as Logging, Connection pooling, design patterns and other such components that will be involved in building the system. I would further like toknow whether Stru...
- A new JEE framework
- Wed, 16 Jul 2008 13:55:00 GMT
- Click Frameworkhttp://click.sourceforge.net/docs/introduction.htmlIt looks it use the extends philosophy (not a lovley way these days).[ April 21, 2007: Message edited by: John Todd ]...
- a question about frameworks learning
- Thu, 17 Jul 2008 17:58:00 GMT
- I have studied j2ee for several time ,now I want to study some applicationframeworks ,but I have some quesitons before I start my study.which frameworks should I study?how to study this frameworks?how to begin my study?which booksshould I read if I want to study such frameworks as spring ,hibern...
- A sample application/ example for Scheduler / Scheduling using Quartz way in Spring.
- Wed, 16 Jul 2008 13:48:00 GMT
- I have created a sample application/ example for Scheduler / Scheduling using Quartz way in Spring. But I am not able to get the desired output.. the scheduler actually not getting called..I also refered James Goodwill's A_simple_quartz_spring_example. But there inside the main method he hav...
- "Java Products" Related Questions
- @if component Tapestry
- Hello! I have just started working with tapestry. I m having some problems with tapestry If component. here are some.1- Some help materail required ... Like examples and etc.2- How to check Conditions like ( a==10 && b ==20)in If component?3- How to use if-else-if? ... If any...4- How can i rest...
- [spring] aop config
- hii use spring and i try to use aop.before some method of a class been called, i would like to check if the user have the correct access to do it...my filescode: <aop:config> <aop ointcut id="servicePointcut" expression="execution(public * com.server.admin.logic.UserAdminImpl.getUser(....
- [Spring+JBoss] IllegalAccessError - please help!
- Hi,I am not sure if this is the right forum for this question. But I am desperate would appreciate any help.I am building a web-based application within the Spring framework. The application is running on JBoss. I used to get the following error (enclosed at the end) off-and-on and would go away...
- [Wicket] Can't see progress in progressBar
- Hi~I run the "upload - Single file upload." in wicket-examples-1.3.3 and found that I could not see a progress running.I mean I want to see, for example, percentage or how many bytes uploaded or a bar running from left to right.Hope you know what I am saying.So anyone can tell me why I can't...
- 2 Spring context files
- If I have 2 Spring context files in my web application and both are loaded, can a bean in the first file be wired to a bean in the second file? Will there be such a visibility?ThanksDevi...
- [Wicket] Adding AjaxFormSubmitBehavior to IndicatingAjaxButton problems
- Hi,sir:I am newbie.I have a file upload web page and want to use AJAX to submit form.So I use IndicatingAjaxButton and add an AjaxFormSubmitBehavior to this button.Here is code snippet: ajaxFormSubmitBehavior = new AjaxFormSubmitBehavior(uploadForm, "onclick") { protected void onSubmit(AjaxReque...
- ${pageContext} is not working with Spring
- Hi.I'm integerating Struts with Spring and every thing is ok.My JSPs use the following line :<link ref="${pageContext.servletContect}/styles/style.css" rel ... />But the pervious line has no effect !After Rendering the page, the following line appears :<link ref="org.apache.catalina...
- [Spring + Java Web Service] bean property not injected
- Hi,I'm developing a project using Hibernate + Spring + Java Web Service + Sun Application Server (Glassfish). My Hibnernate DAOs and Services work fine when I unit test them. I have a problem when I tried to test the web-service, all the DAOs that is being used by the web service that I'...
- @Configurable annotation not working
- Hi while going through a tutorial i tried to used .thatisjava.com.Configurable annotation to instantiate a class out side the Spring container.In my xxxContext.xml i have written the below code:code: <aop:spring-configured /> <bean id="classToTestConfigurable" class="com.ram.configurabletest.ClassToTe...
- Winners: Wicket in Action
- First, a big thanks to Martijn Dashorst & Eelco Hillenius for being here to promote the book Wicket in Action.The winners are:Erik OstermuellerAlaa NassefLasse KoskelaSekhar ChandPlease send your snail mail address to bookpromotion AT javaranch DOT com. To ensure the quickest response, please pr...