Re: [jboss-user] [JBoss Tools] - xhtml code assist performance
by Denis Golovin
Denis Golovin [http://community.jboss.org/people/dgolovin] replied to the discussion
"xhtml code assist performance"
To view the discussion, visit: http://community.jboss.org/message/536186#536186
--------------------------------------------------------------
> Vadim Berezniker wrote:
> 3. The delay is when displaying all code assist possibilities. e.g. pressing Ctrl + Space without typing anything or the code assist that automatically comes up when you select an attribute. It works fine when I'm just accessing a property of a component or i type part of the tag/component name before opening code assist.
How many namespaces has your page declared? Could you post them here?
> Vadim Berezniker wrote:
> ... the code assist that automatically comes up when you select an attribute ...
>
What kind of attribute do you select? Could you say exact taglib/tag/attribute?
I'm just trying to get all information to get this issue replicated.
> Vadim Berezniker wrote:
> 5. Is there any logging I can enable for JBoss Tools? For example to at least see which code assist provider is taking most of the time or to see any other kind of timing information? (I guess I could running Eclipse under a profiler but that seems overkill...)
That would be great if you can do something like this. I used http://www.khelekore.org/jmp http://www.khelekore.org/jmp today to get some performance statistic. It should be simple enough if you under linux. I haven't tried it on windows. Just add in eclipse.ini as a new line after -vmargs
-Xjmp:nogui:noobjects:nomonitors:filter=recursive:org.jboss.tools:dumpdir=/path/to/existing/folder/for/report
It generates text file in /path/to/existing/folder/for/report that can be loaded like CSV file to any spreadsheet (open office calc for example) and sorted to get most consumable methods. Be patient because it will slow eclipse down dramatically.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/536186#536186]
Start a new discussion in JBoss Tools at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
16 years
[JCA Development] - Code generation for JBJCA
by Jeff Zhang
Jeff Zhang [http://community.jboss.org/people/jeff.zhang] created the discussion
"Code generation for JBJCA"
To view the discussion, visit: http://community.jboss.org/message/536179#536179
--------------------------------------------------------------
Hi, I would like to create code generation for JBoss JCA project.
Goal:
To generate code and project configuration of JCA resource adapter. For the user, they can use this tools to generate JCA resource adapter project skeleton. That will include basic resouce adpater, managed connection factory, etc java files and ra.xml, plus ant build.xml file.
User can use this to input some configuration information and generate codes and use ant to package into rar file could be deployed into JCA container.
Research:
So far, it seems no other project could do this job. But there are some projects could generate codes of ejb.
We have 2 subtasks for this:
1. conclusion all important configuration in the rar package, like ra.xml properties, class filename, etc...
2. use template to write down the java source code and resource files
Feature:
Phase 1:
1. use xml file as input file, user can edit this file to define configuration
2. module read from input file and get the variable tree (basic configuration)
3. apply the template to generate files (at first we can use simple write down output)
4. generate build.xml file, user can use ant the compile and package rar file.
5. standalone command line tool and ant task for this
6. JCA 1.6 annotation based and ra.xml defined
7. outbound/NoTx, Inbound&Inout/LocalTx/XA
Phase 2:
1. maven plugin and pom.xml
2. JCA 1.5 and JCA 1.0 profile
3. add more configurations
4. maybe use template thirdparty jar to improve the feature
5. add testsuite for generated code base on JBJCA test framework.
Later:
Maybe eclispe plugin
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/536179#536179]
Start a new discussion in JCA Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
16 years