[JBoss Tools] New message: "Re: Adding JBoss AS source to a project"
by Denis Golovin
User development,
A new message was posted in the thread "Adding JBoss AS source to a project":
http://community.jboss.org/message/523465#523465
Author : Denis Golovin
Profile : http://community.jboss.org/people/dgolovin
Message:
--------------------------------------------------------------
That's what I proposed above. We cannot extend source matching mechanism for jar browsing ( at least I spend an hour to find extension point for that in JDT). Which means there is only way to configure "Source attachment" for jars from Server Classpath container, it is ether have a Server Runtime property which points you to zip/folder in local file system which contains sources or action/property/whatever which would help to configure it at once for all jars in server classpath container.
Current eclipse can handle zips with sources and it will be able to found and match any source inside zip, but it doesn't know how to deal with archives inside archives. This can be solved by:
1. unpacking all jars/zips with .java files after asking permission from user.
2. by configuring source lookup using lookup type injected through extension point. This look up should understand archive sources in file system and archived sources in archive.
I remember Rob mentioned plug-in in our lab component which has similar functionality and provides source lookup for *.src.zip files in selected for lookup folder. It can be adjusted to look inside *.jar files and after that we can handle looking into source archives inside selected source archive or file system. How, just by adding two types of source lookups: Eclipse's one for sources in external folder and our new one for archives in file system or archives inside archive.
Considering all above it looks doable for me
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/523465#523465
15 years, 11 months
[JBoss Tools] New message: "Re: Adding JBoss AS source to a project"
by Denis Golovin
User development,
A new message was posted in the thread "Adding JBoss AS source to a project":
http://community.jboss.org/message/523464#523464
Author : Denis Golovin
Profile : http://community.jboss.org/people/dgolovin
Message:
--------------------------------------------------------------
> mailto:max.andersen@jboss.com wrote:
>
> If your project is setup to locate sources correctly then any debug launches that refer to that project should also work - if not then please report a bug.
You're both right there is no reason to have source lookup configured if jars have attached sources.
> mailto:max.andersen@jboss.com wrote:
>
> Beyond that the issue here is that JBoss AS should provide a src download that allows for easy matching of jar with source, one way would be if all the artifacts are in Maven repositories then we could attach the source automatically based on the Maven groupid and version.
I couldn't find a way to get sources for jars built with maven using eclipse, I think that's a good feature to havein m2eclipse or in JBossTools.
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/523464#523464
15 years, 11 months
[JBoss Cache] New message: "JBoss Cache v3.2.1 - very BAD performance on puts"
by Alexandre Verri
User development,
A new message was posted in the thread "JBoss Cache v3.2.1 - very BAD performance on puts":
http://community.jboss.org/message/523459#523459
Author : Alexandre Verri
Profile : http://community.jboss.org/people/averri
Message:
--------------------------------------------------------------
Dear members,
I'm testing JBoss Cache v3.2.1 and I've found that it has a very bad performance on puts, even with local caches.
The test code is very simple:
factory = new DefaultCacheFactory();
cache = factory.createCache("./config/local.xml");
cache.getRoot().addChild(Fqn.fromString("/queue"));
for (int i = 0; i < 100000; i++) {
client.put("/queue", "" + i, "value-" + i);
}
The "for" loop above is performing very bad: the main througput is about *1000 puts/sec* on my laptop.
The corresponding test with EhCache has the following value: *100000 puts/second* on the same laptop.
I'm using the configuration (local.xml) as bellow:
*<jbosscache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:jboss:jbosscache-core:config:3.2">*
*
*
* <!-- By not specifying the 'clustering' element, the cache runs in LOCAL mode. -->*
* <!-- Configure the TransactionManager -->*
* <transaction transactionManagerLookupClass="org.jboss.cache.transaction.GenericTransactionManagerLookup"/>*
*</jbosscache>*
Is there anything that I'm missing on configuration ?
*Regards,*
*A. Veri*
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/523459#523459
15 years, 11 months