Search:

Type: Posts; User: kamath_sv; Keyword(s):

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. when is bean instantiated from applicationContext.xml

    Below is the sample applicationContext.xml



    <?xml version="1.0" encoding="UTF-8"?>
    <beans xmlns="http://www.springframework.org/schema/beans"...
  2. Replies
    3
    Views
    569

    i tried option3 - bean definition lazy When i...

    i tried option3 - bean definition lazy

    When i start eclipse in debug mode & check the contents of writer object before i access them, i find the objects fully loaded(looks like properties are...
  3. Replies
    3
    Views
    710

    Thanks dlmiles for so much information. the one...

    Thanks dlmiles for so much information.
    the one thing which is still not clear to me is
    "Is using FactoryBean same as implementing factory Design pattern using factory-method".
  4. Replies
    3
    Views
    569

    is late @Autowired possible in spring

    Hi all,
    I have a factory which can creates instances of some classes. I can create instances using new operator. I can even autowire(which is better approach as container will manage it).


    ...
  5. Replies
    3
    Views
    710

    Factory design pattern ?

    I found an example in some blog and implemented the following.


    public class WriterFactory implements FactoryBean {
    @Autowired
    private TextItemWriter textWriter;
    @Autowired
    private...
  6. I am using JdbcCursorItemReader and...

    I am using JdbcCursorItemReader and FlatFileItemWriter both of which i think are not thread safe. Might this be the cause of my problems ?
  7. View Post

    <bean id="taskExecutor" class="org.springframework.scheduling.concurrent.ConcurrentTaskExecutor">
    <property name="concurrentExecutor" ref="threadPoolExecutor"/>
    </bean>
    <bean...
  8. Replies
    0
    Views
    1,291

    How to run CommandlineJobRunner

    I have a spring batch Scheduling project which is running as executable jar. I have a requirement where i need to run few jobs using CommandlineJobRunner(using batch files). I am using the below...
  9. ConcurrentTaskExecutor not running multiple jobs concurrently

    <bean id="taskExecutor" class="org.springframework.scheduling.concurrent.ConcurrentTaskExecutor"/>

    I am using ConcurrentTaskExecutor to run the multiple tasks at the same time. I was expecting...
  10. I am not sure about your complete requirement,...

    I am not sure about your complete requirement, but what i can get from your statements is you want to carry out some processing after writing some data.
    Reader->Processor->Writer->Another Processor...
  11. This is my complete configuration. ...

    This is my complete configuration.


    <context:component-scan base-package="myPackage" />
    <context:annotation-config />



    <bean id="dataSource"...
  12. Running multiple instances of same job concurrently using SimpleAsyncTaskExecutor

    My application is standalone application running as executable jar(not Web application), using spring batch, hibernate, SQLServer2005.
    My job writes a file by getting data from database.

    I am...
  13. Replies
    7
    Views
    3,192

    Due to time constraints i have dropped the plan...

    Due to time constraints i have dropped the plan to use AOP instead of traditional way of logging for time being. Will revisit this soon.

    My requirement is : in many places i will be executing the...
  14. Replies
    7
    Views
    3,192

    note: My application is not a web application so...

    note: My application is not a web application so doesn't contain any web container.I should run the application as executable jar

    Following the example in...
  15. Replies
    7
    Views
    3,192

    http://static.springsource.org/spring/docs/3.0.5.R...

    http://static.springsource.org/spring/docs/3.0.5.RELEASE/reference/aop.html#aop-introduction-defn

    As advised in previous reply i tried aspectj(full-blown AOP solution) by referring the springs...
  16. Replies
    7
    Views
    3,192

    is AOP preferred for Logging ?

    In many blogs we can find examples of logging using @Aspectj(AOP).
    Spring document states
    1. Any given pointcut will be matched against public methods only.
    2. We recommend the use of the Spring...
  17. i want clarification on few more things. 1. Will...

    i want clarification on few more things.
    1. Will commandLineJobLauncher support taskexecutors other than syncTaskExecuotor(Default) like AsyncTaskExecutor, ConcurrentTaskExecutor coz those two are...
  18. CommandLineJobRunner with ConcurrentTaskExecutor

    I am using CommandLineJobRunner to run the jobs.

    <bean id="jobRegistry" class="org.springframework.batch.core.configuration.support.MapJobRegistry" />
    <bean id="jobRepository"...
  19. passing data to FaliureStep using LateBinding

    <job id="job">
    <step id="stepA">
    <next on="FAILED" to="failureStep" />
    <next on="*" to="stepB" />
    </step>
    <step id="stepB">
    <next on="FAILED" to="failureStep" />
    <next on="*"...
  20. thanks for the solution...

    thanks for the solution...
  21. Replies
    2
    Views
    2,662

    Thanks i tried Method invoking tasklet & passed...

    Thanks i tried Method invoking tasklet & passed values through latebinding ( using #{jobExecutionContext['currentRunningJob']} )

    it worked as a charm... :D
  22. Writer must be open before it can be written to

    ...//batch:job
    ...//batch:step
    ...//batch:tasklet
    <batch:chunk reader="itemReader" writer="writerFactory" commit-interval="10" />
    ...//batch:tasklet
    ...//batch:step
    ...//batch:job

    <bean...
  23. Replies
    2
    Views
    2,662

    Tasklet without ItemReader & ItemWriter ?

    <batch:job id="extract">
    <!-- Step One is to Create the File & store it locally -->
    <batch:step id="generateFile" >
    <batch:tasklet>
    <batch:chunk reader="reader" writer="writer"...
  24. Replies
    1
    Views
    711

    Need some info about Greenpages in sts

    Hi,

    Atlast, After so many days i am able to run the Sample greenpages application in STS(Springsource Tool Suite):D
    I am using

    STS2.5.1
    springsource-dm-server-1.0.2.SR02
    ...
  25. Replies
    0
    Views
    2,170

    error while starting dmserver 1.0.2

    when i start the dm-server-1.0.2 i am getting the following error

    Mandatory reference '&controlExporter' in bundle 'com.springsource.server.deployer.core' version '1.0.2.SR02' is waiting for...
Results 1 to 25 of 28
Page 1 of 2 1 2