<questionid="arch-what"> Whatisthisprojectgoodfor? <hint> Pleaseprovideherefewlinesdescribingthetheproject, whatproblemitshouldsolve,providelinkstodocumentation, specifications,etc. </hint> </question>
-->
<answer id="arch-what">
<api name="EjbJarProject" category="friend" group="java"type="export">
The module exposes a new NetBeans project type to create J2EE EJB Module project,
where a developer can add EJBs, develop them, assemble them, build them and deploy them to Application servers.
The friend API allows EAR project to create an EJB module project. It also allows the ejbcore project to set
one property in nbproject\project.properties file.
</api>
</answer>
<questionid="compat-standards"> Doesthemoduleimplementsordefinesanystandards?Isthe implementationexactoritdeviatessomehow? </question>
-->
<answer id="compat-standards">
The module follows the J2EE 1.4 specifications. It allows the user to develop
applications conforming to this standard. The implementation is exact, in the sense that
the module accepts any compliant Ejb Module. Since J2EE 1.4 has to be backward comaptible with J2EE 1.3, this module supports J2EE 1.3 Ejb Modules.
It does not help you create NEW 1.3 modules, but will behave nicely with 1.3 Apps, due to the API layer designed in the j2ee/ddapi module that handles more than
one specification version of J2@@.
</answer>
<!-- Question: compat-version
<questionid="compat-version"> Doesyourmoduleproperlycoexistswithearlierandfuture versions?Canyoucorrectlyreadsettings?Willfuture versionsbeabletoreadsettings? <hint> Veryhelpfulforreadingsettingsistostoreversionnumber there,sofutureversionscandecidewhetherhowtoread/convert thesettingsandolderversionscanignorethenewones. </hint> </question>
-->
<answer id="compat-version">
The module stores some information into persistent data, and makes the best
effort to correctly interpret information stored by previous versions of the
module. It is anticipated that future versions of the module will be able to
interpret information stored by the current version, whenever possible and practical.
<ol>
<li>
<api group="dtd" name="ejbjar-prj3.xsd"type="export" category="devel"url="http://www.netbeans.org/ns/j2ee-ejbjarproject/3.xsd">
<p>
Definition of webproject-specific portions of <code>project.xml</code>.
</p>
</api>
</li>
<li>
<api group="java.io.File" name="project.properties"type="export" category="devel">
<p>
Definition of recognized keys in <code>project.properties</code> and/or
<code>private.properties</code>. XXX not yet formally specified.
</p>
</api>
</li>
<li>
<api group="java.io.File" name="build-impl.xml"type="export" category="devel">
<p>
Definition of targets in <code>build-impl.xml</code> which may be called or
overridden in <code>build.xml</code>. XXX not yet formally specified.
</p>
</api>
</li>
</ol>
</answer>
<!-- Question: dep-jre
<questionid="dep-jre"> WhichversionofJREyouneed(1.2,1.3,1.4,etc.)? <hint> Itisexpectedthatifyourmodulerunson1.xthatitwillrun on1.x+1ifno,statethatplease.Alsodescribeherecaseswhere yourundifferentcodeondifferentversionsofJREandwhy. </hint> </question>
-->
<answer id="dep-jre">
It uses JRE 1.4 or higher.
</answer>
<!-- Question: dep-jrejdk
<questionid="dep-jrejdk"> DoyourequireJDKorisJREenough? </question>
-->
<answer id="dep-jrejdk">
The module depends on the Java module (an EJB is a set fo Java files), which presumably needs the JDK
in order to cooperate with the Java compiler. The module was not tested
with the JRE.
</answer>
<questionid="dep-platform"> Onwhichplatformsyourmodulerun?Any?Doesitruninthesame way? <hint> IfyourmoduleisusingJNIordealswithspecialdifferencesof OSeslikefilesystems,etc.pleasedescribeherewhattheyare. </hint> </question>
-->
<answer id="dep-platform"> 100% pure Java. It should run anywhere.
</answer>
<!-- Question: deploy-jar
<questionid="deploy-jar"> DoyoudeployjustmoduleJARfile(s)orsomeotherfiles? <hint> IfyourmoduleconsistjustfromonemoduleJARfile,justconfirmthat. IfitusesmorethanoneJAR,describewheretherearelocated,how theyrefertoeachother. IfitconsistofmoduleJAR(s)andotherfiles,pleasedescribe whatistheirpurpose,whyotherfilesarenecessary.Please makesurethatinstallation/deinstallationleavesthesystem instateasitwasbeforeinstallation. </hint> </question>
-->
<answer id="deploy-jar">
<api category="private" name="org-netbeans-modules-j2ee-ejbjarproject.jar" group="java.io.File"type="export" >
This is the module's JAR file.
</api>,
</answer>
<questionid="deploy-shared"> Doyouneedtobeinstalledinsharedlocationoronlyinuserdirectory? <hint> Installationlocationshallnotmatter,ifitdoesexplainwhy. </hint> </question>
-->
<answer id="deploy-shared">
Either way is possible.
</answer>
<!-- Question: exec-classloader
<questionid="exec-classloader"> Doesyourcodeusesownclassloader? <hint> Abitunusual.Pleaseexplainwhyandwhatfor. </hint> </question>
-->
<answer id="exec-classloader">
It does not <i>use</i> own classloader.
</answer>
<questionid="exec-privateaccess"> Areyouawareofanyotherpartofthesystemcallingsomeof yourmethodsbyreflection? <hint> Ifso,describethe"contract"asanAPI.Likelyprivateorfriendone,but stillAPIandconsiderrewriteofit. </hint> </question>
-->
<answer id="exec-privateaccess"> <!-- XXX this was answered backwards before: should say what calls this, not what it calls -->
</answer>
<questionid="exec-reflection"> Doesyourcodeusesjava.lang.reflecttoexecutesomeothercode? <hint> ThisusuallyindicatesamissingorunsufficientAPIintheother partofthesystem.Iftheothersideisnotawareofyourdependency thiscontractcanbeeasilybroken. </hint> </question>
-->
<answer id="exec-reflection">
Yes. Reflection is used in one place find out information
about private data owned by the Projects module.
</answer>
<!-- Question: format-clipboard
<questionid="format-clipboard"> Whichprotocolsyourcodereads/insertswhencommunicatingwith clipboard? </question>
-->
<answer id="format-clipboard">
It can copy/paste EJBs, and have two flavors: text/plain and "ejb ref" for EJBs.
Pasting an EJB into a web.xml will automatically add the necessary ejb-ref element.
Pasting an EJB into another EJB will add the context lookup source code int he bean
implementation of the EJB, as well as add the ejb-ref in the ejb-jar.xml at the correct lcoation.
</answer>
<!-- Question: format-dnd
<questionid="format-dnd"> Whichprotocolsyourcodeunderstandsduringdrag-n-drop? </question>
-->
<answer id="format-dnd">
<api name="DragAndDropFlavours" category="friend" group="java"type="export">
See answer for format-clipboard for supported data flavors.
</api>
</answer>
<!-- Question: format-types
<questionid="format-types"> Whichfileformatsyourcodereadsorwritesondisk? </question>
-->
<answer id="format-types">
It writes files through the OpenAPIs, specifically through the FileSystem API
and the Settings API.
Additionally, it reads the files in the formats specified by the J2EE 1.4 specification:
<ul>
<li>EJB 2.0 and 2.1</li>
<li>Java</li>
</ul> <!-- #58823 --> Writes XML-format JUnit results to <code>${build.test.results.dir}</code> for use by
<code>org.netbeans.modules.junit</code>.
</answer>
<!-- Question: lookup-lookup
<questionid="lookup-lookup"> Doesyourmoduleuses<code>org.openide.util.Lookup</code> tofindanycomponentstocommunicateto?Whichones? <hint> Pleasedescribetheinterfacesyouaresearchingfor,where aredefined,whetheryouaresearchingforjustoneormoreofthem, iftheorderisimportant,etc.Alsoclasifythestabilityofsuch APIcontract. </hint> </question>
-->
<answer id="lookup-lookup">
The module uses only project lookup.
</answer>
<questionid="perf-exit"> Doesyourmoduleexecutesanythingonexit? </question>
-->
<answer id="perf-exit">
It only unregisters some listeners.
</answer>
<!-- Question: perf-huge_dialogs
<questionid="perf-huge_dialogs"> Doesyourmodulecontainanydialogsorwizardswithhuge amountofGUIcontrolslikecomboboxes,lists,trees,text areas? </question>
-->
<answer id="perf-huge_dialogs">
No, all dialogs and wizards are of reasonable complexity.
</answer>
<!-- Question: perf-limit
<questionid="perf-limit"> Arethereanylimitsinnumber/sizeofelementsyourcode canhandle? </question>
-->
<answer id="perf-limit">
Performance will detoriate on large EJB applications. One of the Goal is to be able to handle large EJB projects (having 100s of EJBs).
A test case will cover this area. This area was a huge issue in the Studio product line and we are designing this module with this in mind.
</answer>
<!-- Question: perf-mem
<questionid="perf-mem"> Whatistheamountofmemoryyourcomponentoccupies?Estimate witharelactiontothenumberofwindows,etc. </question>
-->
<answer id="perf-mem">
The amount of data is proportional to the number of development objects the user
works with. The amount of memory per object is reasonable.
</answer>
<!-- Question: perf-menus
<questionid="perf-menus"> Doesyourmoduleusedynamicallychangingcontextmenusor contextsensitiveactionswithcomplicatedlogicforenable/disable? </question>
-->
<answer id="perf-menus">
<api name="DynamicMenus" category="friend" group="layer"type="export">
Yes. There are some menus which may depend on other modules installed, and where other modules
may add their items. JST-PENDING: Please describe more deeply.
</api>
Also, there are actions whose enabled status is complicated, e.g. the <code>Call EJB</code>
or <code>Promote Method</code> actions on EJBs, which depend on where the cursor is on the java file.
</answer>
<!-- Question: perf-progress
<questionid="perf-progress"> Doesyourmoduleexecutessomelongrunningtask? <hint>Typicallytheyaretaskslikeconnectingover network,computinghugeamountofdata,compilation. Suchcommunicationshouldbedoneasynchronously(forexample using<code>RequestProcessor</code>),definitivelyitshould notblockAWTthread. </hint> </question>
-->
<answer id="perf-progress">
It launches the compilation of EJBs, compilation of Java files, and deployment of standalone EJB Module Although ultimately these tasks are not directly performed
by this module (but by cooperating modules), it can be assumed that these tasks
will be long running.
Another long running task is the mounting of additional filesystems when an ejb module
is registered or created in the IDE.
</answer>
<!-- Question: perf-scale
<questionid="perf-scale"> Whichexternalcriteriainfluencetheperformanceofyour program(sizeoffileineditor,numberoffilesinmenu, insourcedirectory,etc.)andhowwellyourcodescales? Pleaseincludesomeestimates. </question>
-->
<answer id="perf-scale">
Mainly number of components (development objects).
</answer>
<questionid="resources-file"> Doesyourmoduleuse<code>java.io.File</code>directly? <hint> NetBeansprovidealogicalwrapperoverplainfilescalled <code>org.openide.filesystems.FileObject</code>that providesuniformaccesstosuchresourcesandistheprefered waythatshouldbeused.Butofcoursetherecanbesituationswhen thisisnotsuitable. </hint> </question>
-->
<answer id="resources-file">
Yes. The use of <code>java.io.File</code> is needed for interaction with the
Server Integration APIs, which expect it as parameters in some API calls.
</answer>
<!-- Question: resources-layer
<questionid="resources-layer"> Doesyourmoduleprovideownlayer?Doesitcreatesomefilesor foldersonit?Whatitistryingtocommunicatebythatandwithwhich component? <hint> NetBeansallowsautomaticanddeclarativeinstallationofresources bymodulelayers.Moduleregisterfilesintoappropriateplaces andothercomponentsusethatinformationtoperformtheirtask (buildmenu,toolbar,windowlayout,listoftemplates,setof options,etc.). </hint> </question>
-->
<answer id="resources-layer">
<ul>
<li>Registers file and project templates.</li>
<li>Registers pupup menu action for java editor.</li>
</ul>
</answer>
<questionid="resources-read"> Doesyourmodulereadanyresourcesfromlayers?Forwhatpurpose? <hint> Asthisissomekindofintermoduledependency,itisakindofAPI. Pleasedescribeitandclasifyaccordingto <ahref="http://openide.netbeans.org/tutorial/api-design.html#categories"> commonstabilitycategories</a>. </hint> </question>
-->
<answer id="resources-read">
One task accomplished through reading from layers is allowing dependent modules to declaratively define
actions displayed by this module, but provided by the dependent modules. Another task is to find out whether
certain other modules are enabled. There may be other usages too.
<api group="layer" name="EjbJarLookup"type="export" category="official">
<p> "Projects/org-netbeans-modules-j2ee-ejbjarproject/Lookup" folder's content is used to construct the project's additional lookup.
It's content is expected to be <code>LookupProvider</code> instances. EjbJar project provides <code>LookupMerger</code>s
for <code>Sources</code>, <code>PrivilegedTemplates</code> and <code>RecommendedTemplates</code>. Implementations added by 3rd parties
will be merged into a single instance in the project's lookup.
</p>
</api>
<api group="layer" name="EjbJarProjectCustomizer"type="export" category="official">
<p> "Projects/org-netbeans-modules-j2ee-ejbjarproject/Customizer" folder's content is used to construct the project's customizer.
It's content is expected to be <code>ProjectCustomizer.CompositeCategoryProvider</code> instances.
The lookup passed to the panels contains an instance of <code>Project</code> and <code>org.netbeans.modules.j2ee.ejbjarproject.ui.customizer.EjbJarProjectProperties</code>
Please note that the latter is not part of any public APIs and you need implementation dependency to make use of it.
</p>
</api>
</answer>
<!-- Copy this above the </api-answers> tag! -->
<!-- <questionid="arch-overall"when="init"> Describetheoverallarchitecture. <hint> WhatwillbeAPIfor <ahref="http://openide.netbeans.org/tutorial/api-design.html#design.apiandspi"shape="rect"> clientsandwhatsupportAPI</a>? Whatpartswillbepluggable? Howwillplug-insberegistered?Pleaseuse<code><apitype="export"/></code> todescribeyourgeneralAPIs. Ifpossiblepleaseprovide simplediagrams. </hint> </question>
-->
<answer id="arch-overall">
<p>
The module exposes a new NetBeans project type to create J2EE EJB Module project,
where a developer can add EJBs, develop tem, assemble them, build them and deploy them to Application servers.
<api category="private" group="java.io.File" name="LayoutOfProjectFiles"type="export">
Modules should make no assumptions about the layout of project direcotry other then
what is explicitly exposed via API (such as J2eeModuleProvider from j2eeserver API, AntArtifact).
</api>
</p>
</answer>
<!-- <questionid="arch-time"when="init"> Whatarethetimeestimatesofthework? <hint> Pleaseexpressyourestimatesofhowlongthedesign,implementation, stabilizationarelikelytolast.Howmanypeoplewillbeneededto implementthisandwhatistheexpectedmilestonebywhichtheworkshouldbe ready? </hint> </question>
-->
<answer id="arch-time">
<p>
To be completed in netbeans 4.1.
</p>
</answer>
<!-- <questionid="arch-usecases"when="init"> Describethemain<ahref="http://openide.netbeans.org/tutorial/api-design.html#usecase"shape="rect"> usecases</a>ofthenewAPI.Whowilluseitunder whatcircumstances?Whatkindofcodewouldtypicallyneedtobewritten tousethemodule? </question>
-->
<answer id="arch-usecases">
<p>
<usecase id="id" name="Project Generator" >
EjbJarProjectUtilities can be used to generate EJB module project. This can be used
for example to create a populated EAR project together with an EJB module project.
This is the only (private) API.
</usecase>
</api-answers> <!-- Copy this above the </api-answers> tag! -->
Messung V0.5 in Prozent
¤ Diese beiden folgenden Angebotsgruppen bietet das Unternehmen0.35Angebot
(Wie Sie bei der Firma Beratungs- und Dienstleistungen beauftragen können 2026-09-28)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.