[Design of JBoss jBPM] - values in example.identities.sql for JBPM4_ID_USER do not fi
by mrinneL1
This issue applies to revision 4815 and some earlier revisions.
The script example.identities.sql contains lines like
INSERT INTO JBPM4_ID_USER VALUES (1,0,'alex','password','Administrator Login','');
but the script jbpm.hsqldb.create.sql creates the JBPM4_ID_USER table as follows
create table JBPM4_ID_USER (
| DBID_ bigint generated by default as identity (start with 1),
| DBVERSION_ integer not null,
| ID_ varchar(255),
| PASSWORD_ varchar(255),
| GIVENNAME_ varchar(255),
| FAMILYNAME_ varchar(255),
| BUSINESSEMAIL_ varchar(255),
| primary key (DBID_)
| );
The value 'Administrator Login' does not fit to the columns GIVENNAME_ and FAMILYNAME_.
The script example.identities.sql should be changed to use something like
INSERT INTO JBPM4_ID_USER VALUES (1,0,'alex','password','Alex','Admin','');
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4231138#4231138
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4231138
16 years, 10 months
[Design of EJB 3.0] - Re: EJBTHREE-1800 Current status on performance improvement
by jaikiran
After various fixes in EJB3 projects and other projects, we finally have some good news
anonymous wrote :
| 3) The profiler snapshot shows hotspots on org.jboss.ejb3.metadata.plugins.loader.BridgedMetadataLocader (.retrieveAnnotation)
|
A bit of digging around showed that the AnnotationRepositoryToMetadata associated with the Advisor was really performing badly. The issue is exactly what got fixed in JBCL-100. Incidentally the fix for JBCL-100 was integrated in AS branch 5_x yesterday. So here's the good news:
My test application (100 beans with 100 methods each and couple of injections in each bean) which used to take 25-30 sec (consistently) for deployment, now takes around 14 sec (consistently) with the JBCL-100 fix. Furthermore on my local setup, i tried out the suggested fix for AOPDependencyBuilder issue http://www.jboss.org/index.html?module=bb&op=viewtopic&t=155244&start=20#.... This reduces the deployment time by 4 seconds more. So now, the deployment which used to take 25-30 sec completes in 10-11 sec (consistently).
Further steps of action:
1) I see around 5-6 sec where AOP stuff is going on. Not sure if this can be reduced further. But i will continue looking into this.
2) The suggested fix for AOPDependencyBuilder, needs changes in AS->ejb3 module as well as the *-beans.xml in EJB3 project. We need to discuss when to do this (depends on whether the changes Ales made have gone into the AS branch)
3) Adrian in this thread http://www.jboss.org/index.html?module=bb&op=viewtopic&t=155074&start=0#4... mentioned that we could disable registering MC beans as MBeans (which are more useful for debugging). This change might slightly improve the AS startup time and deployment time of MC beans.
4) The more important one - Get some community help to get hold of some "real" app to test these changes. So far, i have been test with my own test application. This has led to identification of various performance issues, but we might still be missing some. So a real app will help. I probably will wait for the AS 5.1.0 GA release, before asking for some community testing and some sample apps.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4231112#4231112
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4231112
16 years, 10 months
[Design of JBoss Web Services] - [Urgent]: EJBs and web services in Jboss a/s 4.2.2 GA
by veneetr
Hi all,
I have a Application that relies on EJBs for Business Logic
I basically use the Jboss A/s server for the same and now there is a need to Expose these methods through a web service
so that our web team can make use of the same
the issue that i am facing is that
currently i have implemented a End point interface that my Bean class implements so that i can expose
my bean methods to the web dev team
Req:
I want to create a seperate Bean which resides in the same JVM as my Application bean and so that i can invoke the businees methods and the new Bean acts like a pluggable component for future end use
After reading a lot of articles it's stil not clear to me as in how to achieve inter bean communication as in how can two beans Communicate effectively while being Loosely coupled at the same time
If you can suggest anything on the same it would be very helpful
--
thanks
veneet
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4231078#4231078
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4231078
16 years, 10 months
[Design of Management Features on JBoss] - JBAS-6693 - Add deployExploded argument to DeploymentManager
by emuckenhuber
WRT: https://jira.jboss.org/jira/browse/JBAS-6693
We might want to add a notion of DeploymentOptions to the DeploymentManager instead of just a boolean argument like:
| DeploymentProgress distribute(String name, URL contentURL, DeploymentOption... options);
|
I would prefer this, as Ian also once pointed out that things like FailIfExists should also be possible to be specified when deploying an application.
Basically i see this more as an optional option, as a Profile or DeploymentRepository might not support all options.
One thing i'm not really sure is if using the distribute(String name, URL contentURL, DeploymentOption... options) implies copyContent == true?
As e.g. ExplodeDeployment would only be available for copyContent = true.
A DeploymentOption would be a simple enumeration like:
| public enum DeploymentOption
| {
| FailIfExists, ExplodeDeployment
| }
|
On the DeploymentRepository side we would need to add a additional parameter to the addDeploymentContent like:
| String addDeploymentContent(String name, InputStream contentIS, DeploymentOption... options)
|
I don't really like this, as the profileservice-spi should not really depend on the API from the DeploymentManager. Although it might be ok for 5.x and we'll review that for AS6 again?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4231058#4231058
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4231058
16 years, 11 months