Questions tagged [seam]

JBoss Seam is an open source enterprise framework in Java. Because it fulfills some of the missed features of Java technologies such as JavaServer Faces and Enterprise Java Beans, Seam has positioned itself as the prototype for Java EE specifications.

JBoss Seam is an open source enterprise framework in Java. It includes among its features

  • Integrates presentation layer and server side business and persistence logic transparently
  • Dependency injection
  • Universal contextual model
  • Built-in persistence layer by using mediator pattern
  • Transaction management
  • A powerful event model
  • Bult-in Security model
  • Built-in application generator (customizable)

Because it fulfills some of the missed features of Java technologies such as JavaServer Faces (presentation layer) and Enterprise Java Beans (server side business logic), Seam has positioned itself as the prototype for Java EE specifications such as Contexts and Dependency Injection for the Java EE platform (contextual model), JavaServer Faces 2.0 JSR-314 (presentation layer) and Bean validation JSR-303 (validation).

Although Seam has built-in support for some Java EE technologies, you are free to choose the technology that fits better your needs.

Recommended readings

1371 questions
14
votes
5 answers

seam file upload to postgres bytea column " column is bytea but expression is of type bigint"

Closely following this example, I'm uploading a small file and trying to store into postgresql bytea column. Here is error (first two outputs are logging statements outputting attributes of bean before the INSERT is attempted: SAGE 1 --…
mcgyver5
  • 1,153
  • 2
  • 15
  • 29
13
votes
3 answers

What would cause an Hibernate InvalidStateException

I get this error, even though there are no validation constraints in my model class (all of the member variables are set properly but I stil get this exception on object creation). How do I debug this error? javax.el.ELException:…
Sam
  • 8,387
  • 19
  • 62
  • 97
13
votes
1 answer

How do I send JSon as BODY In a POST request to server from an Android application?

I am working on my first Android Application. What I am trying to do is a POST request to a REST service I want the BODY of this request to be a JSON String. I am using google's GSON to generate the JSON that is sent to the server. Here is the…
groo
  • 4,213
  • 6
  • 45
  • 69
13
votes
2 answers

Do not understand passing parameters in seam

As I debug my seam application, it dawns on me that I don't really understand how parameter passing works. The following terminology really has me confused. So I am asking this very general question in the hopes of getting a good explanation of…
april26
  • 833
  • 3
  • 14
  • 27
12
votes
5 answers

What are the advantages/disadvantages of Seam over Spring?

What are the advantages/disadvantages of Seam over Spring? Why would I use Seam in lieu of Spring? Is there anything that can be done in Seam that can't be done in Spring? Anything in Spring that can't be done in Seam? What about…
Josh
12
votes
3 answers

JPA Entiy on synonym instead of table

I have a Seam 2.2 based Java EE 5 web application with a bunch of tables mapped to JPA 1.0 Entities via Hibernate 3.3.3. During development it's running on a Tomcat 6, Oracle 10 XE and Windows 7. Now, we had the request by operations department to…
Alexander Rühl
  • 6,769
  • 9
  • 53
  • 96
11
votes
2 answers

Are there “server-side comments” in JSF / Seam / RichFaces?

With the JSF/Seam/RichFaces stack, is there a way to mark up comments (on XHTML pages) so that they will not be included in the HTML output? I.e., something like JSP's <%-- comments --%>, as opposed to normal . I heard that…
Jonik
  • 80,077
  • 70
  • 264
  • 372
10
votes
2 answers

Seam/Hibernate: liquibase before JPA startup

I have a Java EE web application (hibernate3, seam) that I'm using in Weblogic container. I want to introduce Liquibase for schema migrations. Currently we use which we want to drop because…
gyorgyabraham
  • 2,550
  • 1
  • 28
  • 46
10
votes
3 answers

Understanding the necessity of type Safety in CDI

First I should clarify that this post is not intended to criticize CDI, but to discover the thinking and assumptions behind the design of CDI and that will have obvious influence on designing any web app, which uses CDI. One of the most…
Sazzadur Rahaman
  • 6,938
  • 1
  • 30
  • 52
10
votes
4 answers

Is RESTful JSF possible?

I recently sat down to port a simple Rails app I have to JSF (using Seam) to get a feel for which I would be more productive in. The Rails app is RESTful, which I like. Upon starting into JSF, I was surprised to learn, perhaps incorrectly, that JSF…
SingleShot
  • 18,821
  • 13
  • 71
  • 101
10
votes
2 answers

Maven To copy jar file from local folder

I am using seam to develop my application and running it on weblogic 10.1MP Using maven2 to build the application and did not find the jboss-seam-wls-compatible.jar file in any repository. In maven how I can copy this jar from my local folder to the…
user118802
  • 161
  • 1
  • 1
  • 12
10
votes
4 answers

Convert String inside h:outputText into capitalize String?

How can I convert a String in h:outputText? Here is the code of h:outputText: I tried using this, But it gives me error : "no tag was defined for…
user1555524
  • 195
  • 1
  • 2
  • 9
10
votes
8 answers

Are there any disadvantages to SEAM?

As a java web applications developer I have used this last year JSF (SUN) for a framework to my web applications. I have to say I quite liked using it, it makes the developing easier. Recently, I have read a lot of good things about JBoss Seam, but…
Avi Y
  • 2,456
  • 4
  • 29
  • 35
9
votes
2 answers

Seam in JBoss Application Server 7?

Which Seam framework version is supported in JBoss AS 7? I am planning to use Seam2.2.2, is it compatible with Jboss AS 7?
Anand
  • 1,287
  • 3
  • 11
  • 15
9
votes
3 answers

Show success message and then redirect to another page after a timeout using PageFlow

How can I show a success message and then redirect the user to another page after a timeout of e.g. 5 seconds? I need this for the login page after a successful login. I tried the following and I can see the warning message on login failure, but not…
Holysh
  • 167
  • 2
  • 3
  • 9
1
2
3
91 92