[JBoss Seam] - Re: Seam and Adobe Flex
by neilac333
Thanks for the explanation, DavidInTx.
In your experience, can you use all the compelling Seam features like JAAS security, transactions, and conversation scope with Flex ActionScript components?
Of course, every technology has a space in which it is appropriate, and no technology is perfect for every situation. I am just not sure which framework, Seam or Spring, is better suited to integration with Flex. There are a good number of resources on Flex-Spring integration and none on Flex-Seam integration, but I believe that is more a function of Spring's age and popularity than any real technological superiority to Seam.
Besides DavidInTx obviously, does anyone have experience leveraging either Spring or Seam with Flex? Is there a better choice?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035182#4035182
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035182
19 years
[JBoss Seam] - How to insert a timestamp to a Not Nullable column from a fo
by anarinsky
I have a class that contains a Date property - timestamp. Also, I have a form for persisting this object in the database. This form was created by the seam generator. In the database the timestamp is not nullable.
The timestamp should be equal to a current time. A user should not insert it. So I removed this field from the form and changed the setter for this property
public void setTimestamp(Date time) {
if (time==null)
{
timestamp = new Date();
}
this.timestamp = time;
}
However, the persisting mechanism does not use this setter. As a result I am getting the exception:
Exception during request processing: javax.servlet.ServletException: #{projNotesHome.persist}: javax.persistence.PersistenceException: org.hibernate.PropertyValueException: not-null property references a null or transient value: : com.scea.spot4.ProjNotes.timestamp
Any suggestion?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035180#4035180
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035180
19 years
[JBoss Messaging] - Re: Where did my messages (sent by a SessionBean) go?
by tonylmai
Here is a log for a successful sent and received.
anonymous wrote : 2007-04-05 15:02:27,734 DEBUG [org.jboss.jms.server.security.SecurityMetadataStore] No SecurityMetadadata was available for td-private, using default security config
|
| 2007-04-05 15:02:27,734 DEBUG [org.jboss.remoting.transport.socket.SocketWrapper] ClientSocketWrapper[Socket[addr=/192.168.1.101,port=3875,localport=2705].178de07] closing
|
| 2007-04-05 15:02:27,734 DEBUG [org.jboss.remoting.transport.bisocket.BisocketServerInvoker] accepted: Socket[addr=/192.168.1.101,port=3903,localport=2705]
|
| 2007-04-05 15:02:27,734 DEBUG [org.jboss.remoting.transport.bisocket.BisocketServerInvoker] SecondaryServerSocketThread: transferred socket: 5c4o12t-xx5l00-f05qv1bb-1-f05qv1z6-7
|
| 2007-04-05 15:02:27,734 DEBUG [org.jboss.remoting.transport.bisocket.BisocketClientInvoker] found socket: Socket[addr=/192.168.1.101,port=3903,localport=2705]
As you can see, there was confirmation that the client indeed had received the message.
This message was sent by the remote test app. The previous log was for the SessionBean resided within the server sending the message to an external client.
Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035179#4035179
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035179
19 years
[JBoss Messaging] - Re: Where did my messages (sent by a SessionBean) go?
by tonylmai
Here is the trace. I don't see confirmation that a message had been sent.
anonymous wrote : 2007-04-05 14:52:34,375 DEBUG [org.jboss.jms.message.MessageIdGeneratorFactory] checked out MessageIdGenerator for 0, reference count is 5
| 2007-04-05 14:52:34,375 DEBUG [org.jboss.jms.server.endpoint.ServerConnectionEndpoint] ConnectionEndpoint[45] creating non transacted session, AUTO_ACKNOWLEDGE, non XA
| 2007-04-05 14:52:34,375 DEBUG [org.jboss.jms.server.endpoint.ServerConnectionEndpoint] created and registered SessionEndpoint[46]
| 2007-04-05 14:52:34,375 DEBUG [org.jboss.jms.server.endpoint.ServerConnectionEndpoint] created SessionDelegate[16030232, ID=46]
| 2007-04-05 14:52:34,484 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3@1fecaeb, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader@f631d8{ url=null ,addedOrder=0}
| 2007-04-05 14:53:28,859 DEBUG [org.jboss.jms.server.security.SecurityMetadataStore] No SecurityMetadadata was available for td-private, using default security config
| 2007-04-05 14:53:28,859 DEBUG [org.jboss.remoting.transport.bisocket.BisocketServerInvoker] accepted: Socket[addr=/192.168.1.101,port=3875,localport=2705]
| 2007-04-05 14:53:28,875 DEBUG [org.jboss.remoting.transport.bisocket.BisocketServerInvoker] SecondaryServerSocketThread: transferred socket: 5c4o12t-xx5l00-f05qv1bb-1-f05qv1z6-7
| 2007-04-05 14:53:28,875 DEBUG [org.jboss.remoting.transport.bisocket.BisocketClientInvoker] found socket: Socket[addr=/192.168.1.101,port=3875,localport=2705]
| 2007-04-05 14:53:29,046 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3@1fecaeb, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader@1d82219{ url=null ,addedOrder=0}
That was the end of the log. Hope it makes sense to you. Thanks for your help.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035178#4035178
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035178
19 years