[JBoss Seam] - Re: Claim: Seam is not for large Java EE applications
by modoc
Well that's an open ended question isn't it?
I think any valid response would have to be to a specific set of complaints.
I definitely do see some potential maintainability issue with a large project and a large team using annotations to name components, for instance. Obviously you can standardize on using the components.xml file or something like that.
Seam is also somewhat in it's its youth, meaning that the code base is constantly changing and new releases come out frequently. It's not an an annual release cycle. It also lacks some of the mature documentation, and the wealth of knowledge which gets generated by tens of thousands of people using it to do all kinds of things on a day to day basis. i.e. googling an odd error or trying to research how to do something tricky will be easier with JBoss itself, or WebLogic, or Struts, because they've been around longer and been put through more paces by more people.
There's also a lack of design and coding conventions so far, and no real examples (although I do think it's possible) on how to manage a LARGE Seam application, worked on by a team of 20, which has to be deployed to individual dev machines, shared dev instances, assembly test env, functional test env, load test cluster, preview, and a production cluster, each needing their own configuration overrides and whatnot. Again, i think it's doable, but I don't know that anyone has done it yet. Or at least they haven't documented best practices.
I'm also not sure what level of support is currently offered from Redhat for Seam. I know it didn't used to be available for enterprise support, although that may have changed.
All of that said, I think from an architectural standpoint, there isn't a reason to doubt Seam's applicability to large enterprise use.
Can you be more specific about why Seam may not be for large apps?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097323#4097323
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097323
18Â years, 8Â months
[JBoss Seam] - Re: Could not initialize class org.hibernate.intercept.LazyP
by ebu
here is it:
|
| @Entity
| @NamedQueries({
| @NamedQuery(name = Property.ALL_PROPERTIES_COUNT, query="select count(p.id) from Property as p"),
| @NamedQuery(name = Property.ALL_PROPERTIES, query="select p from Property as p order by p.name")
| })
| public class Property {
| public final static String ALL_PROPERTIES_COUNT = "ALL_PROPERTIES_COUNT";
| public static final String ALL_PROPERTIES = "ALL_PROPERTIES";
|
|
| @Id
| @GeneratedValue
| private Long id;
|
| @NotNull
| private String name;
|
| private Type type;
|
| public Long getId() {
| return id;
| }
|
| public void setId(Long id) {
| this.id = id;
| }
|
| public String getName() {
| return name;
| }
|
| public void setName(String name) {
| this.name = name;
| }
|
| public Type getType() {
| return type;
| }
|
| public void setType(Type type) {
| this.type = type;
| }
|
| @Override
| public String toString() {
| return this.id != null ? this.id.toString() : "New";
| }
|
| }
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097315#4097315
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097315
18Â years, 8Â months
[Beginners Corner] - EJB References
by bschipper
Hello,
I'm currently migrating from Weblogic 8.1 to JBoss 4.2.1, and I'm having trouble getting our existing EJB references to work. The error i receive when deploying the jar is:
anonymous wrote : org.jboss.deployment.DeploymentException:
| Failed to resolve ejb-link: IdSequenceSession make by ejb-name: ejb/IdSequenceSession
The ejb-jar.xml extract for this reference is as follows:
<ejb-ref>
| <ejb-ref-name>ejb/IdSequenceSession</ejb-ref-name>
| <ejb-ref-type>Session</ejb-ref-type>
| <home>core.idsequence.IdSequenceSessionHome</home>
| <remote>core.idsequence.IdSequenceSession</remote>
| <ejb-link>IdSequenceSession</ejb-link>
| </ejb-ref>
and the descriptor (jboss.xml) for the bean that it is referencing is:
<jboss>
| <enterprise-beans>
| <session>
| <ejb-name>IdSequenceSession</ejb-name>
| <jndi-name>core/IdSequenceSession</jndi-name>
| </session>
| </enterprise-beans>
| </jboss>
>From what i have read, I believe that jboss should create a reference between the ejb-link and the ejb-name as long as i am running the two jar's in the same deployment (I have also tried adding the "ejb-reference-description" tags to jboss.xml with no avail)?
Any help on this matter would be greatfully appreciated!
Thanks,
Ben.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097309#4097309
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097309
18Â years, 8Â months