STRUT, COocoon, Spring framework

I'm about to start self-learning Cocoon, Strut, and Spring framework.
I was wondering which to start. After a quick glance at Jakarta site, I noticed that the description of Cocoon is very similiar to Strut. Is Strut a replacement of Cocoon..and I also noticed that Cocoon is not listed as one of the project under Jakarta. has it been stop?
And which framework should i start with? some suggest that i learn strut, since strut is more popular..but some say Sping is better than Strut, and people are shifting toward Spring framework. Basically..i'm confuse as where to start..i will probably learn them all (though probably not in detail for some framework)

Cocoon is a high level Apache projet. It is not part of Jakarta.
http://cocoon.apache.org/
It is tough for anyone to tell you which framework you should be learning because they all have their uses. Yes, Struts is by far the most widely used.
However, JSF is becoming the new standard now that Sun is pushing it. So don't count it out.
Sorry I can't help you more with your decision. What framework to use/learn is a topic often debated. Only you can decide which one makes the most sense for you.
Good luck.

Similar Messages

  • What is the difference between struts and spring framework

    What is the difference between struts and spring framework
    Thanks in advance

    Struts is nothing more than a web MVC framework.
    Spring is lots more.
    Spring has its own web MVC frameworks for both servlets and portlets. I think the Struts web MVC design is inferior to Spring's.
    It also has JDBC and ORM support, message driven POJOs, an IoC engine, aspects, and lots more.
    Struts would be a minor subset of Spring.
    %

  • What is struts and spring framework?

    Hi all,
    As mentioned in subject, I just know that they are frameworks for web applications. But how actually they work and is that any relationship between them with tomcat?
    regards,
    jeffcjm

    jeffcjm wrote:
    Hi all,
    As mentioned in subject, I just know that they are frameworks for web applications. Struts is a web MVC framework; Spring is much more. It has its own web MVC framework, but it can work with Struts. It's based on inversion of control and aspect oriented programming techniques. Spring has support classes for everything from persistence, remoting, messaging, etc.
    But how actually they work and is that any relationship between them with tomcat?Tomcat is a servlet/JSP engine. You can deploy applications using Struts or Spring on Tomcat.
    %

  • Struts+hibernate+spring clarify the framework and layers

    i am did Struts Hibernate and Spring integration using the following url
    http://www.roseindia.net/struts/hibernate-spring/index.shtml
    i want to know is it mvc architecture ?
    how many layers it have ?
    any one know ple clarify me

    i want to know is it mvc architecture ?What do you think? Do you know what mvc is? Do you see any of the "m", "v" or "c" in there?
    how many layers it have ?What layers can you see in it yourself?

  • Handling of multiple view in spring framework

    Hi,
    I just wanted to know that how can i handle control on view in spring framework as we handle in struts.
    For e.g.
    In struts when action servlet needs to find next view it looks for <forward> in struts-config.xml , how can i achieve same thing in Spring..

    So you want the knowledge. But are you willing to make the effort to gain the knowledge?
    http://static.springsource.org/spring/docs/3.1.0.M1/spring-framework-reference/html/mvc.html

  • Using Struts or Spring dilemma?

    HI all,
    just a query , if we want to create a huge application having around 100's of Enterprise Beans and JSP pages around 1000, which Framework one should choose or go for between Struts and Spring. I have worked on Struts it seems to be popular choice and stable. But don't even have a vague notion about Spring Framework.
    Wherein the application demands stability and performance enhancement.
    Avadhoot.

    Struts and Spring are two seperate frameworks , one can be used to implement View lyer using MVC and the other can contain all aspect of your application from the view to business and back end connection.
    you can use Struts with spring , int this scenario struts will be the View layer and spring framework will handle other stuff like DA , Mailing , Transaction , Secrity ,....
    I can say that :
    go with EJB for Business layer , Use struts for View
    and use netbeans 5 as IDE , it made developing ejb stuff too easy.

  • Not able to create a web project with jsf or jsp or struts or spring

    Hi,
    I am trying to create a dynamic web project with jsf or jstl or struts or spring or any of web options available for a web project, but I am not able to do it.
    When I choose any of these options, the wizard asks me to "select an existing jstl/jsf/Spring 2.0 library, or click Add to add a new library." and since it doesn't show any existing libraries there, I clicked on add new library. When I click add, it opens a new dialog box where it has two options :
    1. to use spring/jstl/jsf lib from bea web site - when I choose this option, it tries to connect to the bea web site and gives me error that "connect time out". I don't know why it is not able to connect to the internet. I am not able to see the help also. There it gives error "The requested URL could not be retrieved".
    2. to use libraries from an existing spring installation - I provide the path of a directory where spring lib are, but then it gives me error that this is not a valid installation.
    On another machine, I am able to see the help contents, but still not able to get these libraries from the bea site.
    Please help.
    Thanks in advance,
    Sushma

    Hi Sushma,
    The issue you are facing has been addressed and will be part of the next release. For the current release, please follow the steps listed below.
    Send an email to [email protected] with details on specific facets you are trying to enable on your project.
    You will be provided with a url where you can download the required jars and details on how to manually add the jars to the workspace which will prevent the download on demand scenario.
    Cheers
    Raj

  • Weblogic 10.3.0 managed server + Spring Framework slow startup

    Hello
    Iam running weblogic 10.3.0 plus an application using spring framework on this:
    java.runtime.name = Java(TM) SE Runtime Environment
    java.runtime.version = 1.6.0_20-b02
    java.specification.name = Java Platform API Specification
    java.specification.vendor = Sun Microsystems Inc.
    java.specification.version = 1.6
    java.vendor = Oracle Corporation
    java.version = 1.6.0_20
    java.vm.info = compiled mode
    java.vm.name = Oracle JRockit(R)
    os.arch = amd64
    os.name = Windows 2003
    os.version = 5.2
    sun.arch.data.model = 64
    sun.io.unicode.encoding = UnicodeLittle
    sun.jnu.encoding = Cp1252
    sun.management.compiler = Oracle JRockit(R) Optimizing Compiler
    sun.os.patch.level = Service Pack 2
    Problem Description: A weblogic managed server is taking more than an hour to start, the delay is due to the deployments during startup, passing from STATE_PREPARED to STATE_ADMIN and to the initialization of the Spring root WebApplicationContex, which takes an avg of 7 mins per module deployed.
    I have a development server with the same application which starts in a few minutes, the only difference between the environments are tha the development server runs in 32bits.
    Any help will be appreciated
    -luis
    Server log file:
    ####<Feb 17, 2011 5:09:06 PM VET> <Info> <ServletContext-/Micropago/ServiciosOperacionTransferencia> <SAPL734> <micropago_server> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1297978746371> <BEA-000000> <Initializing Spring root WebApplicationContext>
    ####<Feb 17, 2011 5:19:16 PM VET> <Info> <Deployer> <SAPL734> <micropago_server> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1297979356364> <BEA-149059> <Module operaciondispatcher-ws-1.0-SNAPSHOT.war of application operaciondispatcher-ws-1 is transitioning from STATE_PREPARED to STATE_ADMIN on server micropago_server.>
    ####<Feb 17, 2011 5:19:16 PM VET> <Info> <Deployer> <SAPL734> <micropago_server> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1297979356411> <BEA-149060> <Module operaciondispatcher-ws-1.0-SNAPSHOT.war of application operaciondispatcher-ws-1 successfully transitioned from STATE_PREPARED to STATE_ADMIN on server micropago_server.>
    ####<Feb 17, 2011 5:19:24 PM VET> <Info> <ServletContext-/Micropago/ServiciosOperacionD> <SAPL734> <micropago_server> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1297979364083> <BEA-000000> <Initializing Spring root WebApplicationContext>
    ####<Feb 17, 2011 5:23:35 PM VET> <Info> <Deployer> <SAPL734> <micropago_server> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1297979615333> <BEA-149059> <Module operacionutil-ws-1.0-SNAPSHOT.war of application operacionutil-ws-1 is transitioning from STATE_PREPARED to STATE_ADMIN on server micropago_server.>
    ####<Feb 17, 2011 5:23:35 PM VET> <Info> <Deployer> <SAPL734> <micropago_server> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1297979615333> <BEA-149060> <Module operacionutil-ws-1.0-SNAPSHOT.war of application operacionutil-ws-1 successfully transitioned from STATE_PREPARED to STATE_ADMIN on server micropago_server.>
    ####<Feb 17, 2011 5:23:40 PM VET> <Info> <ServletContext-/Micropago/ServiciosUtilidad> <SAPL734> <micropago_server> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1297979620318> <BEA-000000> <Initializing Spring root WebApplicationContext>
    ####<Feb 17, 2011 5:30:10 PM VET> <Info> <Deployer> <SAPL734> <micropago_server> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1297980010468> <BEA-149059> <Module securitymanager-ws-1.0-SNAPSHOT.war of application securitymanager-ws-1 is transitioning from STATE_PREPARED to STATE_ADMIN on server micropago_server.>
    ####<Feb 17, 2011 5:30:10 PM VET> <Info> <Deployer> <SAPL734> <micropago_server> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1297980010515> <BEA-149060> <Module securitymanager-ws-1.0-SNAPSHOT.war of application securitymanager-ws-1 successfully transitioned from STATE_PREPARED to STATE_ADMIN on server micropago_server.>

    Hi, thanks for your answer.
    How can I do a Thread Dump snapshot in a windows server starting as a service (no console)?
    Admin_server Thread Stack Trace
    Dump 1/3
    "Main Thread" waiting for lock weblogic.t3.srvr.T3Srvr@f14693 WAITING
         java.lang.Object.wait(Native Method)
         java.lang.Object.wait(Object.java:485)
         weblogic.t3.srvr.T3Srvr.waitForDeath(T3Srvr.java:811)
         weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:459)
         weblogic.Server.main(Server.java:67)
    "(Signal Handler)" RUNNABLE
    null
    "(OC Main Thread)" RUNNABLE
    null
    "(Code Generation Thread 1)" RUNNABLE
    null
    "(Code Optimization Thread 1)" RUNNABLE
    null
    "(VM Periodic Task)" RUNNABLE
    null
    "(Attach Listener)" RUNNABLE
    null
    "Finalizer" RUNNABLE
         jrockit.memory.Finalizer.waitForFinalizees(Native Method)
         jrockit.memory.Finalizer.access$700(Finalizer.java:12)
         jrockit.memory.Finalizer$4.run(Finalizer.java:189)
         java.lang.Thread.run(Thread.java:619)
    "Reference Handler" RUNNABLE
         java.lang.ref.Reference.waitForActivatedQueue(Native Method)
         java.lang.ref.Reference.access$100(Reference.java:11)
         java.lang.ref.Reference$ReferenceHandler.run(Reference.java:82)
    "(Sensor Event Thread)" RUNNABLE
    null
    "VM JFR Buffer Thread" RUNNABLE native
    null
    "Timer-0" waiting for lock java.util.TaskQueue@e259a7 WAITING
         java.lang.Object.wait(Native Method)
         java.lang.Object.wait(Object.java:485)
         java.util.TimerThread.mainLoop(Timer.java:483)
         java.util.TimerThread.run(Timer.java:462)
    "Timer-1" waiting for lock java.util.TaskQueue@10ad080 TIMED_WAITING
         java.lang.Object.wait(Native Method)
         java.util.TimerThread.mainLoop(Timer.java:509)
         java.util.TimerThread.run(Timer.java:462)
    "[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'" RUNNABLE
    DUMP 2/3
    "Main Thread" waiting for lock weblogic.t3.srvr.T3Srvr@f14693 WAITING
         java.lang.Object.wait(Native Method)
         java.lang.Object.wait(Object.java:485)
         weblogic.t3.srvr.T3Srvr.waitForDeath(T3Srvr.java:811)
         weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:459)
         weblogic.Server.main(Server.java:67)
    "(Signal Handler)" RUNNABLE
    null
    "(OC Main Thread)" RUNNABLE
    null
    "(Code Generation Thread 1)" RUNNABLE
    null
    "(Code Optimization Thread 1)" RUNNABLE
    null
    "(VM Periodic Task)" RUNNABLE
    null
    "(Attach Listener)" RUNNABLE
    null
    "Finalizer" RUNNABLE
         jrockit.memory.Finalizer.waitForFinalizees(Native Method)
         jrockit.memory.Finalizer.access$700(Finalizer.java:12)
         jrockit.memory.Finalizer$4.run(Finalizer.java:189)
         java.lang.Thread.run(Thread.java:619)
    "Reference Handler" RUNNABLE
         java.lang.ref.Reference.waitForActivatedQueue(Native Method)
         java.lang.ref.Reference.access$100(Reference.java:11)
         java.lang.ref.Reference$ReferenceHandler.run(Reference.java:82)
    "(Sensor Event Thread)" RUNNABLE
    null
    "VM JFR Buffer Thread" RUNNABLE native
    null
    "Timer-0" waiting for lock java.util.TaskQueue@e259a7 WAITING
         java.lang.Object.wait(Native Method)
         java.lang.Object.wait(Object.java:485)
         java.util.TimerThread.mainLoop(Timer.java:483)
         java.util.TimerThread.run(Timer.java:462)
    "Timer-1" waiting for lock java.util.TaskQueue@10ad080 TIMED_WAITING
         java.lang.Object.wait(Native Method)
         java.util.TimerThread.mainLoop(Timer.java:509)
         java.util.TimerThread.run(Timer.java:462)
    "[STANDBY] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'" waiting for lock weblogic.work.ExecuteThread@10ad1bd WAITING
         java.lang.Object.wait(Object.java:485)
         weblogic.work.ExecuteThread.waitForRequest(ExecuteThread.java:157)
         weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    "weblogic.time.TimeEventGenerator" waiting for lock weblogic.time.common.internal.TimeTable@10aff60 TIMED_WAITING
         weblogic.time.common.internal.TimeTable.snooze(TimeTable.java:286)
         weblogic.time.common.internal.TimeEventGenerator.run(TimeEventGenerator.java:117)
         java.lang.Thread.run(Thread.java:619)
    "weblogic.timers.TimerThread" waiting for lock weblogic.timers.internal.TimerThread@11216cb TIMED_WAITING
         java.lang.Object.wait(Native Method)
         weblogic.timers.internal.TimerThread$Thread.run(TimerThread.java:267)
    "[STANDBY] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'" waiting for lock weblogic.work.ExecuteThread@10ad3e0 WAITING
         java.lang.Object.wait(Object.java:485)
         weblogic.work.ExecuteThread.waitForRequest(ExecuteThread.java:157)
         weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    "Thread-7" waiting for lock java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@10ad595 WAITING
         sun.misc.Unsafe.park(Native Method)
         java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)
         java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1925)
         java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:399)
         weblogic.utils.concurrent.JDK15ConcurrentBlockingQueue.take(JDK15ConcurrentBlockingQueue.java:89)
         weblogic.store.internal.PersistentStoreImpl.getOutstandingWork(PersistentStoreImpl.java:567)
         weblogic.store.internal.PersistentStoreImpl.run(PersistentStoreImpl.java:615)
         weblogic.store.internal.PersistentStoreImpl$2.run(PersistentStoreImpl.java:383)
    "ExecuteThread: '0' for queue: 'weblogic.socket.Muxer'" RUNNABLE native
         weblogic.socket.NTSocketMuxer.getIoCompletionResult(Native Method)
         weblogic.socket.NTSocketMuxer.processSockets(NTSocketMuxer.java:81)
         weblogic.socket.SocketReaderRequest.run(SocketReaderRequest.java:29)
         weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:42)
         weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145)
         weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117)
    "ExecuteThread: '1' for queue: 'weblogic.socket.Muxer'" RUNNABLE native
         weblogic.socket.NTSocketMuxer.getIoCompletionResult(Native Method)
         weblogic.socket.NTSocketMuxer.processSockets(NTSocketMuxer.java:81)
         weblogic.socket.SocketReaderRequest.run(SocketReaderRequest.java:29)
         weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:42)
         weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145)
         weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117)
    "ExecuteThread: '2' for queue: 'weblogic.socket.Muxer'" RUNNABLE native
         weblogic.socket.NTSocketMuxer.getIoCompletionResult(Native Method)
         weblogic.socket.NTSocketMuxer.processSockets(NTSocketMuxer.java:81)
         weblogic.socket.SocketReaderRequest.run(SocketReaderRequest.java:29)
         weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:42)
         weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145)
         weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117)
    "VDE Transaction Processor Thread" waiting for lock [email protected] WAITING
         java.lang.Object.wait(Native Method)
         java.lang.Object.wait(Object.java:485)
         com.octetstring.vde.backend.standard.TransactionProcessor.waitChange(TransactionProcessor.java:367)
         com.octetstring.vde.backend.standard.TransactionProcessor.run(TransactionProcessor.java:212)
    "VDE Replication Thread" waiting for lock com.octetstring.vde.replication.Replication@10ad426 TIMED_WAITING
         com.octetstring.vde.replication.Replication.wait30sec(Replication.java:384)
         com.octetstring.vde.replication.Replication.run(Replication.java:350)
    "DoSManager" TIMED_WAITING
         java.lang.Thread.sleep(Native Method)
         com.octetstring.vde.DoSManager.run(DoSManager.java:433)
    "Thread-11" waiting for lock java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@4f576f WAITING
         sun.misc.Unsafe.park(Native Method)
    DUMP 3/3
    "Main Thread" waiting for lock weblogic.t3.srvr.T3Srvr@f14693 WAITING
         java.lang.Object.wait(Native Method)
         java.lang.Object.wait(Object.java:485)
         weblogic.t3.srvr.T3Srvr.waitForDeath(T3Srvr.java:811)
         weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:459)
         weblogic.Server.main(Server.java:67)
    "(Signal Handler)" RUNNABLE
    null
    "(OC Main Thread)" RUNNABLE
    null
    "(Code Generation Thread 1)" RUNNABLE
    null
    "(Code Optimization Thread 1)" RUNNABLE
    null
    "(VM Periodic Task)" RUNNABLE
    null
    "(Attach Listener)" RUNNABLE
    null
    "Finalizer" RUNNABLE
         jrockit.memory.Finalizer.waitForFinalizees(Native Method)
         jrockit.memory.Finalizer.access$700(Finalizer.java:12)
         jrockit.memory.Finalizer$4.run(Finalizer.java:189)
         java.lang.Thread.run(Thread.java:619)
    "Reference Handler" RUNNABLE
         java.lang.ref.Reference.waitForActivatedQueue(Native Method)
         java.lang.ref.Reference.access$100(Reference.java:11)
         java.lang.ref.Reference$ReferenceHandler.run(Reference.java:82)
    "(Sensor Event Thread)" RUNNABLE
    null
    "VM JFR Buffer Thread" RUNNABLE native
    null
    "Timer-0" waiting for lock java.util.TaskQueue@e259a7 WAITING
         java.lang.Object.wait(Native Method)
         java.lang.Object.wait(Object.java:485)
         java.util.TimerThread.mainLoop(Timer.java:483)
         java.util.TimerThread.run(Timer.java:462)
    "Timer-1" waiting for lock java.util.TaskQueue@10ad080 TIMED_WAITING
         java.lang.Object.wait(Native Method)
         java.util.TimerThread.mainLoop(Timer.java:509)
         java.util.TimerThread.run(Timer.java:462)
    "[STANDBY] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'" waiting for lock weblogic.work.ExecuteThread@10ad1bd WAITING
         java.lang.Object.wait(Object.java:485)
         weblogic.work.ExecuteThread.waitForRequest(ExecuteThread.java:157)
         weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    "weblogic.time.TimeEventGenerator" waiting for lock weblogic.time.common.internal.TimeTable@10aff60 TIMED_WAITING
         weblogic.time.common.internal.TimeTable.snooze(TimeTable.java:286)
         weblogic.time.common.internal.TimeEventGenerator.run(TimeEventGenerator.java:117)
         java.lang.Thread.run(Thread.java:619)
    "weblogic.timers.TimerThread" waiting for lock weblogic.timers.internal.TimerThread@11216cb TIMED_WAITING
         java.lang.Object.wait(Native Method)
         weblogic.timers.internal.TimerThread$Thread.run(TimerThread.java:267)
    "[STANDBY] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'" waiting for lock weblogic.work.ExecuteThread@10ad3e0 WAITING
         java.lang.Object.wait(Object.java:485)
         weblogic.work.ExecuteThread.waitForRequest(ExecuteThread.java:157)
         weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    "Thread-7" waiting for lock java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@10ad595 WAITING
         sun.misc.Unsafe.park(Native Method)
         java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)
         java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1925)
         java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:399)
         weblogic.utils.concurrent.JDK15ConcurrentBlockingQueue.take(JDK15ConcurrentBlockingQueue.java:89)
         weblogic.store.internal.PersistentStoreImpl.getOutstandingWork(PersistentStoreImpl.java:567)
         weblogic.store.internal.PersistentStoreImpl.run(PersistentStoreImpl.java:615)
         weblogic.store.internal.PersistentStoreImpl$2.run(PersistentStoreImpl.java:383)
    "ExecuteThread: '0' for queue: 'weblogic.socket.Muxer'" RUNNABLE native
         weblogic.socket.NTSocketMuxer.getIoCompletionResult(Native Method)
         weblogic.socket.NTSocketMuxer.processSockets(NTSocketMuxer.java:81)
         weblogic.socket.SocketReaderRequest.run(SocketReaderRequest.java:29)
         weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:42)
         weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145)
         weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117)
    "ExecuteThread: '1' for queue: 'weblogic.socket.Muxer'" RUNNABLE native
         weblogic.socket.NTSocketMuxer.getIoCompletionResult(Native Method)
         weblogic.socket.NTSocketMuxer.processSockets(NTSocketMuxer.java:81)
         weblogic.socket.SocketReaderRequest.run(SocketReaderRequest.java:29)
         weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:42)
         weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145)
         weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117)
    "ExecuteThread: '2' for queue: 'weblogic.socket.Muxer'" RUNNABLE native
         weblogic.socket.NTSocketMuxer.getIoCompletionResult(Native Method)
         weblogic.socket.NTSocketMuxer.processSockets(NTSocketMuxer.java:81)
         weblogic.socket.SocketReaderRequest.run(SocketReaderRequest.java:29)
         weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:42)
         weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145)
         weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117)
    "VDE Transaction Processor Thread" waiting for lock [email protected] WAITING
         java.lang.Object.wait(Native Method)
         java.lang.Object.wait(Object.java:485)
         com.octetstring.vde.backend.standard.TransactionProcessor.waitChange(TransactionProcessor.java:367)
         com.octetstring.vde.backend.standard.TransactionProcessor.run(TransactionProcessor.java:212)
    "VDE Replication Thread" waiting for lock com.octetstring.vde.replication.Replication@10ad426 TIMED_WAITING
         com.octetstring.vde.replication.Replication.wait30sec(Replication.java:384)
         com.octetstring.vde.replication.Replication.run(Replication.java:350)
    "DoSManager" TIMED_WAITING
         java.lang.Thread.sleep(Native Method)
         com.octetstring.vde.DoSManager.run(DoSManager.java:433)
    "Thread-11" waiting for lock java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@4f576f WAITING
         sun.misc.Unsafe.park(Native Method)

  • Use of DISTINCT for CLOB through Java(Spring framework)

    Hello everyBody,
    How to use DISTINCT for a select query containing a column of type CLOB. I use to_char(column name) for that column name. It works fine on oracle command prompt , but not working thr my JAVA API(jdk 1.3) . It throws an exception saying InvalidFormat. I am using spring framework in Java. Is anyBody have solution to this? I am using oracle 9i. Please reply soon. Thankx in advance.

    I do realise the fact that you are using Spring probably indicates that you lack heavy duty SQL skills. But you really should try to learn to tune your queries properly.
    Cheers, APC

  • Do I need to install Spring framework separately for my Eclipse?

    Hi, Guys:
        I am completely new to Java Enterprise, and I am supposed to use Spring framework and hibernate. tools: JDK 7, Eclipse, Maven, Git, etc.
       I have a question that may be silly to you guys: I want to try my first Spring project, on training video (using Spring 3.05), it asks me to download Spring framework 3.05, and I wonder if I already installed Maven plugin on my eclipse, do I have to download Spring framework? as I got a rough idea that Maven already supports Spring. However, I cannot find such a library support in my project property. Someone just said I need to follow M2E instruction, Could any one give a hint?
    thanks a lot!
    Sam

    Why would that be a solution to this particular problem? A plugin MIGHT make your life easier in the end if it works properly, if you know how to use the framework it manages. It is perfectly possible to use Spring in a Java project, regardless of tooling, without having to install anything. The only thing you need is the proper jars like is the case for any API, toolkit, framework or whatever in Java land; you need to at least understand how to work with libraries/jars before you can start to work with frameworks like Spring.
    And how you get the proper jars - that's a task that lies with the developer, not the tool. I would use Maven myself, that makes it really easy to manage the dependencies (especially upgrading to new versions) once you get over the hump of setting up the poms once. And then for future projects it becomes a matter of copy/pasting the poms. But reading the very extensive and complete Spring documentation and then manually downloading the required jars and adding them the your project's build classpath is also a valid option. Eclipse has a built-in help which explains just fine how to manage libraries in a project.

  • Spring framework with JDeveloper

    Hi,
    I'm developing to an application using JDeveloper. I need to use Spring framework, somebody has used it, integrating it with JDeveloper ?
    Thanks

    Hello,
    How do you use ADF with Spring in a JSF application? I am trying and it seems like my ADF filter and JSf-Spring integration filter conflict with each other. Here the stanzas from my web.xml file. Ther ADF Internal listener fails with a null ptr or a java.lang.ArrayIndexOutOfBoundsException when I attempt to access my JSF page (no ADF tags are in this page but it does use Spring/JSF managed beans). If I remove the ADF filter and retry everything works???
    <!-- Runtime exception -->
    java.lang.ArrayIndexOutOfBoundsException: 3
         javax.faces.component.UICommand.restoreState(UICommand.java:268)
         javax.faces.component.html.HtmlCommandButton.restoreState(HtmlCommandButton.java:826)
         javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:999)
         javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1011)
         javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1011)
         javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1011)
         oracle.adfinternal.view.faces.application.StateManagerImpl.restoreView(StateManagerImpl.java:249)
         com.sun.faces.application.ViewHandlerImpl.restoreView(ViewHandlerImpl.java:246)
         oracle.adfinternal.view.faces.application.ViewHandlerImpl.restoreView(ViewHandlerImpl.java:192)
         com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:157)
         com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
         com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
         oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:264)
         oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:151)
         oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:123)
         de.mindmatters.faces.spring.RequestHandledFilter.doFilter(RequestHandledFilter.java:117)
    <!-- Faces Filter -->
    <filter>
    <filter-name>faces</filter-name>
    <filter-class>oracle.adfinternal.view.faces.webapp.FacesFilter</filter-class>
    <init-param>
    <param-name>faces-servlet-url-pattern</param-name>
    <param-value>/faces/*</param-value>
    </init-param>
    </filter>
    <filter>
    <filter-name>adfFaces</filter-name>
    <filter-class>oracle.adf.view.faces.webapp.AdfFacesFilter</filter-class>
    </filter>
    <filter>
    <filter-name>RequestHandled</filter-name>
    <filter-class>de.mindmatters.faces.spring.RequestHandledFilter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>RequestHandled</filter-name>
    <url-pattern>/faces/*</url-pattern>
    </filter-mapping>
    <!-- Faces Filter Mappings -->
    <filter-mapping>
    <filter-name>faces</filter-name>
    <url-pattern>*.jspx</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>adfFaces</filter-name>
    <servlet-name>faces</servlet-name>
    </filter-mapping>
    <listener>
         <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
    </listener>

  • Spring Framework 3.1 Suppport in SOA Suite

    Hi ,
    Does SOA Suite provides support to use Spring Framework 3.1.
    IN Jdeveloper if i open SOA Spring Context Service Component, in component palette its shows Spring 2.5 Framework components.
    Please share inputs on how to use Spring Framework 3.1 with SOA Suite.
    Edited by: Abhinav on Feb 1, 2013 2:51 PM

    Thanks for replying.
    If Spring 3.1 support is not there, then what are the different ways of integration with Spring Application 3.1 from SOA Suite.
    One can be :
    If Spring Application is being exposed as spring web service ( SOAP/REST) and then soa suite calls spring application using web service/HTTP binding components ?
    Please suggest !!
    Regards,
    Abhinav Gupta

  • Jdeveloper 10 EA and spring frameworks what about  integration?

    jdeveloper 10 EA and spring frameworks what about integration?

    Hi,
    there is no integration to Spring in Jdeveloper. You can develop applications that use Spring, but we don't provide specific wizards or dialogs.
    Frank

  • Date Formatting, JSTL tags and the Spring framework

    Hi all, i have a small problem and i am hoping maybe someone here knows the solution. I am using a date field in a search page, binding it using a customDateEditor, and using a validator for correct formatting. The problem i have is this: i am using the <spring:bind> tag so that the page will return with the value that caused a validation fault. But even if the page succeeds it is submitted back onto itself, this time carrying the search results. But this time the date field will return in a completly different format. I cannot use the <fmt:formatDate> tag because of <spring:bind>. How can i register a "reverse" bind editor if you will, something that will print my data according to a specific format depending on the class?
    Code snippet follows :
    <spring:bind path="filesRequest.fileEndDateSearch">
    <input type="text" id="fileEndDateSearch" name="fileEndDateSearch" class="txtBox" value="<fmt:formatDate value="${status.value}" type="date" pattern="yyyy-MM-dd" />"/>
    </spring:bind>
    Using <fmt:formatDate> for the ${status.value} will cause an exception in case the validator fails, as the format date tag will try to parse the erroneous input.
    Just in case i was not that clear in the first paragraphs, here's exactly what i'm trying to achieve: using the Spring framework i want to design a search page that submits back onto itself(with or without some search results) that takes advantage of the validator, the <spring:bind> tag (that is to say, if the user submits some erroneous data it is returned to him in the corresponding field so he can correct it) and somehow should format the data it receives from the form according to a specific format.

    If you don't want the default localized version, I think you might have to do your own logic for how to display the dates.
    <fmt:formatDate value="${now}" dateStyle="SHORT"/> might be close... but
    with the following you can set the patterns to what you want. No automagic though :(
    <fmt:formatDate value="${now}" pattern="MM-dd-yyyy"/>

  • Spring framework ModelAndView question.

    Hi,
    In my controller object, it creates a ModelAndView object and invoke the following methods:
    ModelAndView mv = new ModelAndView("hello");
    mv.addObject(req);
    mv.addObject(resp);
    mv.addObject(ctx);
    I would like to know how to access these objects (i.e. req, resp, ctx) in my JSP??
    Thanks.

    nick2price wrote:
    I am a bit confused with this spring framework.
    I can find tutorials on it but they seem a bit wierd. what does wierd [sic] mean?
    i think "spring mvc step by step" is excellent. did you try to code it?
    What exactly is a framework? "don't call us, we'll call you"
    I downloaded it onto my desktop and now i have a folder full of things? What do i have to do to set it up?put the jars in your project and start configuring spring.
    (if anything). I had to download this for a tutorial. I also had to download tomcat, even though i have no idea what this is too. Looks like a sort of server? yes, it's a servlet/jsp engine.
    Brief description on this too would be great.
    thanks

Maybe you are looking for