springsource

Spring Web Flow 3 Development Abandoned?

六月ゝ 毕业季﹏ 提交于 2019-12-03 23:48:15
Does anyone have any information on Spring Web Flow 3 status? Here are a few relevant links that support my sense that springsource has essentially abandoned the project: 1) Official roadmap indicates they are missing milestones by over a year now with no update to the roadmap. 2) Forum thread filled with these questions ignored by Keith Donald and Spring team. 3) Official Download page says the latest release is 2.2.1 but is actually 2.3 so that is not even being kept up-to-date anymore. While Web Flow version 2 I'm sure is a great product, the issues above are all obvious red flags when it

Difference Between Spring JDBC Vs Plain JDBC?

元气小坏坏 提交于 2019-12-03 22:53:09
What is the main difference between Spring JDBC VS JDBC? Tomasz Nurkiewicz Let me show you some simple example using JDBC: final Connection connection = ds.getConnection(); try { final Statement statement = connection.createStatement(); try { final ResultSet resultSet = statement.executeQuery("SELECT COUNT(*) FROM Orders"); try { resultSet.next(); final int c = resultSet.getInt(1); } finally { resultSet.close(); } } finally { statement.close(); } } finally { connection.close(); } It's much better when try-with-resources though: try ( Connection connection = ds.getConnection(); Statement

What is the difference between spring factory-method and factory-bean?

邮差的信 提交于 2019-12-02 20:27:20
I am new Springs. In Bean tag I found factory-method and factory-bean Attributes. What is the difference between factory-method and factory-bean? I am using factory-method to call my getInstance static method to create singleton object. What is factory-bean used for? For given replies, What I understood was Factory-method is used for calling a static method to create object in same bean class. Factory-bean is used for creating a object based on factory design pattern. Ex:- I am asking a EggPlant object from VegetableFactory (Which will return vegetable object which was asked)class by passing

Selecting multiple values from select tag - Grails

早过忘川 提交于 2019-12-01 00:16:50
Could you please anyone tell me how to get multiple values from <g:select multiple="multiple" ... I have this in my create.gsp <g:select name="validator.id" multiple="multiple" optionKey="id" from="${com.project.Validator.list()}" value="${validators}" /> and this is in OperationLogContoller.groovy def create = { def operationLogInstance = new OperationLog() operationLogInstance.properties = params operationLogInstance.validator = Validator.get(params.validatorId) operationLogInstance.operation = Operation.get(params.operationId) return [operationLogInstance: operationLogInstance] } def save =

Eclipse debugging / step into method skipping AOP wiring

徘徊边缘 提交于 2019-11-30 12:00:28
I'm debugging a SpringSource application in Eclipse 3.5 that makes heavy use of AOP to wire up the components. If I want to step into a method of a class wired with AOP, I first have to step through around 20 layers of SpringSource wiring methods before reaching my own source code again. Is there a way to configure Eclipse to skip the layers to which it has no source and step directly to my method? Try Windows>Preferences>Java>Debug>Step Filtering. Check "Use Step Filters" and simply add the packages/classes you wouldn't to go in to the list. See http://help.eclipse.org/help32/index.jsp?topic=

Eclipse debugging / step into method skipping AOP wiring

ε祈祈猫儿з 提交于 2019-11-29 17:37:03
问题 I'm debugging a SpringSource application in Eclipse 3.5 that makes heavy use of AOP to wire up the components. If I want to step into a method of a class wired with AOP, I first have to step through around 20 layers of SpringSource wiring methods before reaching my own source code again. Is there a way to configure Eclipse to skip the layers to which it has no source and step directly to my method? 回答1: Try Windows>Preferences>Java>Debug>Step Filtering. Check "Use Step Filters" and simply add

make ivy not to download sources and license files

被刻印的时光 ゝ 提交于 2019-11-29 15:33:22
Is there a way to configure ivy not to download sources & license files via ivy.xml ? I'm currently trying to use default ivy repos + spring repository. my ivysettings.xml is bellow: <?xml version="1.0" encoding="ISO-8859-1"?> <settings defaultResolver="springSource" /> <include url="${ivy.default.settings.dir}/ivysettings-public.xml" /> <include url="${ivy.default.settings.dir}/ivysettings-shared.xml" /> <include url="${ivy.default.settings.dir}/ivysettings-local.xml" /> <include url="${ivy.default.settings.dir}/ivysettings-main-chain.xml" /> <include url="${ivy.default.settings.dir}

make ivy not to download sources and license files

被刻印的时光 ゝ 提交于 2019-11-28 10:01:41
问题 Is there a way to configure ivy not to download sources & license files via ivy.xml ? I'm currently trying to use default ivy repos + spring repository. my ivysettings.xml is bellow: <?xml version="1.0" encoding="ISO-8859-1"?> <settings defaultResolver="springSource" /> <include url="${ivy.default.settings.dir}/ivysettings-public.xml" /> <include url="${ivy.default.settings.dir}/ivysettings-shared.xml" /> <include url="${ivy.default.settings.dir}/ivysettings-local.xml" /> <include url="${ivy

System.console() returns null

柔情痞子 提交于 2019-11-25 22:59:56
问题 I was using readLine of BufferedReader to get input/new password from user, but wanted to mask the password so I am trying to use java.io.Console class. Problem is that System.console() returns null when an application is debugged in Eclipse. I am new to Java and Eclipse not sure is this the best way to achieve? I am right clicking on the source file and selecting \"Debug As\" > \"Java Application\". Is there any workaround? 回答1: This is a bug #122429 of eclipse 回答2: This code snippet should