Class reload for split directory structure
I have tried to use the split directory structure in WL 8.1. I have a enterprise
application with 2 EJB modules and 2 WEB modules. I have tried to change one session
bean by just adding a logging statement and then use wlcompile to compile it.
Do I necessary call wldeploy to redeploy it? Or, will WebLogic automatically reload
the class file? Calling redeploy is so slow to me (about 3 minutes). Thus I want
to check if WL can just reload the class automatically.
Hudson Wong wrote:
I have tried to use the split directory structure in WL 8.1. I have a enterprise
application with 2 EJB modules and 2 WEB modules. I have tried to change one session
bean by just adding a logging statement and then use wlcompile to compile it.
Do I necessary call wldeploy to redeploy it? Yes
Or, will WebLogic automatically reload the class file? No, by default it load the EJB in the application classloader, and
everytning in the classloader must change for it to be visible.
Calling redeploy is so slow to me (about 3 minutes). Thus I want
to check if WL can just reload the class automatically.There is a bit of an advanced way in WLS 8.1 to get this to work.
In your weblogic-ejb-jar.xml, you need to set
<enable-bean-class-redeploy>True</enable-bean-class-redeploy>
This tells WLS to load the bean impl class in a sub classloader
then in weblogic.Deployer you have to specify the bean class that changed.
weblogic.Deployer -name myapp -redeploy myEJB/com/foo/MyEJB.class
That works as long as you only make changes to the bean class itself.
-- Rob
Similar Messages
-
Using wlappc with split directory structure
I am trying to generate an EAR file of my application using wlappc in WLS8.1sp3.
I am using the split directory structure, I have a src directory containing my
source and xml descriptors, and a output directory containing the compiled classes.
I am using the split structure to deploy to the app server in development, that
is working fine. I use wlcompile to compile the code, that works ok too.
I assume that the purpose of wlappc would be to take a split directory structure
and create an EAR file from it, but there is only one source directory that you
can pass to the ant task. If I pass the src directory, it complains that it cannot
find the classes. If I use the output directory, it complains that it cannot
find the META-INF directory.
Am I missing a step? Do I have to use wlpackage to put everything in one directory,
then wlappc? Do I have to copy the class files or xml files manually first?Jason Kriese wrote:
I am trying to generate an EAR file of my application using wlappc in WLS8.1sp3.
I am using the split directory structure, I have a src directory containing my
source and xml descriptors, and a output directory containing the compiled classes.
I am using the split structure to deploy to the app server in development, that
is working fine. I use wlcompile to compile the code, that works ok too.Great.
>
I assume that the purpose of wlappc would be to take a split directory structure
and create an EAR file from it, No, wlappc does J2EE code-generation and validation. For instance, it
will do hundreds of checks against your EJBs to make sure they comply
with the spec. It will compile your JSP files into servlets etc. You
just need to pass wlappc the output directory. It will automatically
find the src directory.
When you're ready to deploy to a production or staging server, you can
use wlpackage to put everything into one directory or an archived EAR file.
-- Rob
but there is only one source directory that you
can pass to the ant task. If I pass the src directory, it complains that it cannot
find the classes. If I use the output directory, it complains that it cannot
find the META-INF directory.
Am I missing a step? Do I have to use wlpackage to put everything in one directory,
then wlappc? Do I have to copy the class files or xml files manually first? -
J2EE Deployment 1.1 API and Split Directory Structure
How do you think the Deployment API from J2EE 1.4 will affect the WL split directory
structure?I believe they're orthogonal and wasn't expecting any split-directory
changes. Did you have any particular concerns?
-- Rob
Christopher R. Gardner wrote:
How do you think the Deployment API from J2EE 1.4 will affect the WL split directory
structure? -
Best practices for package directory structure?
I've only compiled a few java programs & while I find the language itself very easy to adapt to from C++ and Javascript, I get confused about the directory structure and classpaths & such.
My main method of operation is to build small tools and test projects, and I would like to follow good practices for organizing my directory structure, so it will (a) work well with java, and (b) work well with my source control software.
Let's say I am developing packages named "com.example.test.test1", "com.example.test.test2", "com.example.tools.flapper", and "com.example.tools.spinner".
I know I can use this structure:
/java/test/test1/com/example/test/test1/* (files for com.example.test.test1 including test1.java)
/java/test/test2/com/example/test/test2/* (files for com.example.test.test2 including test2.java)
/java/tools/flapper/com/example/tools/flapper/* (files for com.example.tools.flapper including flapper.java)
/java/tools/spinner/com/example/tools/spinner/* (files for com.example.tools.spinner including spinner.java)
But the directories seem unnecessarily deep & lead to a hassle in source control that makes it difficult to browse.
Can I use this? and if so, how do I run "javac" and "jar" properly to compile/jar-ify each package?
/java/com/example/test/test1/* (files for com.example.test.test1)
/java/com/example/test/test2/* (files for com.example.test.test2)
/java/com/example/tools/flapper/* (files for com.example.tools.flapper)
/java/com/example/tools/spinner/* (files for com.example.tools.spinner)
also is it recommended to leave the .class files in the same dirs as the .java files, or better to have a separate tree for compiled .class files?hmm, there's a lot to absorb here...
I found these articles online that seem good:
http://www.onjava.com/pub/a/onjava/2003/12/17/ant_bestpractices.html
http://www.kevinboone.com/classpath.html
I'd like to use ant if possible & understand it; I've had troubles with IDEs in the past and would like to just stick with basic build mechanisms.
I guess as a practical example let's say I have two different applications that use the serial port, that I want to release separately, each in separate .jar files. One is called com.example.applications.serial1 and the other is com.example.applications.serial2. They both use rxtx.org's gnu.io.* libraries. Serial1 uses some packages that I have developed: com.example.tools.spinner and com.example.tools.flapper, whereas Serial2 uses com.example.tools.spinner and com.example.tools.flopper
I think I want to organize things this way: (everything below under /java/src/)
com
example
applications
serial1
serial1.java
serial2
serial2.java
tools
spinner
spinner.java
flapper
flapper.java
flopper
flopper.java
and I think I want to compile to /java/classes/:
com
example
applications
serial1
serial1.class
serial2
serial2.class
tools
spinner
spinner.class
flapper
flapper.class
flopper
flopper.class
but I'm sort of lost on where to put the ant buildfiles, which directories to be in to run javac, and how to get the jar files right. From what I've searched for online, the external libraries (RXTX's jar files & .dlls for windows) are "interesting", and the easiest thing is to tell users of my .jar files to put the rxtx libs in the same library as the .jar files so I can set the Class-Path: in the .jar manifest to point to them. -
Full ABAP Edition-Trial (with Web Dynpro for ABAP) directory structure
Normally, the files related to sap system are located to under /usr/sap/ ....
but this time, i can see them under C:/SAP/<SID>
so from now ( of from SAP NW2004s SPS08), do you change the structure of file location ?
or it's just for Sneak Preview ABAP Edition SPS08?
Thanks,
davidHello,
to your first question.
The MaxDB database has a feature which can
increase the database automatically.
This ( auto_extend ) is turned on for the SDN Preview
installation.
That means the database should extend a further datavolume
automatically when the filling level gets over 90%.
In your case the database already added two more datavolumes. The installation only creates one.
Best regards, Stefan -
Guidelines for deciding directory structure for Swing Application
Hi,
We are developing a Swing Application for our organization. We want to organize the code and resources/icons/properties files in correct manner.
We have guidelines for arranging the code for web application. Is there any such guidelines available for desktop application as well? What is the preferred location for keeping the icons and properties files?
Regards,
ManuThanks Maran.
I have already checked many installation guides before posting here. All of them mention about creating folders like /admin or /oradata on various mount points but none of the naming conventions really indicate whether it is a 8i database or a 10g database.
This is required when you are having multiple Oracle installations under /opt and databases are running from different mount points.
Regards, -
How to reload class file for java objects in CF MX7
I'm trying to create a simple java object for use in a CFML
page. According to the topic "About ColdFusion and Java objects" in
the CF developer's guide, I can compile my java module and put the
.class file in the CFusionMX7/wwwroot/WEB-INF/classes directory and
it'll be dynamically reloaded any time CF sees a new .class file
there. But the dynamic reload isn't happening; I have to restart
the CF server to get it to pick up a new version.
I don't believe this directory is in the "general JVM
classpath"; I don't find "classes" in the Java Class Path in the CF
Administrator's System Information page. And I have all the caching
options turned off on the "Server Settings > Caching" page, if
that has any bearing on it.
Are there any known issues around this dynamic reload
capability, or maybe a more definitive way to make sure the
WEB-INF/classes directory isn't in the classpath?
Thanks,
JamesYes, I understand. But if I'm reading it correctly, what
you're saying seems to contradict the documentation
http://livedocs.adobe.com/coldfusion/7/htmldocs/00001561.htm
ColdFusion dynamically loads classes that are either .class
files in the web_root/WEB-INF/classes directory or in JAR files in
the web_root/WEB-INF/lib directory. ColdFusion checks the time
stamp on the file when it creates an object that is defined in
either directory, even when the class is already in memory. If the
file that contains the class is newer than the class in memory,
ColdFusion loads the class from that directory.
http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_18228&sliceId=1
Dynamic class reloading for Java servlets classes and
forcfobject (sic) Java classes is disabled by default in
ColdFusion MX. To enable dynamic class reloading, do the following:
Also, I seem to recall that setting worked in a prior
version. Though I would have to test it again on another machine to
be certain. -
Split Directory Packaging and Deployment Question
Hello Rob Woollen and All,
I have a question about packaging and deployment with the "split directory structure"
in WebLogic Server 8.1.
Specifically, how does one go about deciding which classes to put in myEnterpriseApp/myWebApp/WEB-INF/classes,
versus myEnterpriseApp/myEjbModule, versus myEnterpriseApp/APP-INF/classes?
I think the answer to the first part is easy enough: if there are classes depended
on by, say, the servlets in a web app, but not depended on anywhere else in the
enterprise app, then those classes should go in WEB-INF/classes.
It's the other part of the question that gives me trouble. I use local interfaces
on my session beans. Let's say I have a domain object class returned from a session
bean method and depended on by the web app. If I put that domain object class
under myEnterpriseApp/myEjbModule, then the web app can see it by virtue of the
classloader arrangement.
But the wlcompile Ant target supposedly compiles stuff to build/APP-INF/classes.
What stuff? How does it decide? I haven't experimented and empirically observed
yet, but I couldn't find the answer in the documentation and tutorials. Is it
looking for java source files under src/myEnterpriseApp but not under myWebApp
or myEjbModule? In general, does BEA have any recommendations in this area?
Thanks,
Randy"Randy Stafford" <[email protected]> wrote in message
news:[email protected]...
>
Hi Mark,
Thanks for the reply. I don't have 8.1 installed yet, so I can'tempirically
observe the example's behavior. But I downloaded the example andinspected the
code. It answers some, but not all, of my questions.Where to start.
In 8.1 we have made optimizations to J2EE packaging. Mostly this is about
not having to use manifest classpath's to do sharing of of common classes.
MF Cp's are a pain to configure. You put your classes in one location in
the ear and then EVERY module has to have a MF CP entry pointing to that
location, and then you actually have N number of classes loaded per module.
The mechanism to share classes across all modules is APP-INF/lib and
APP-INF/classes. The benefit is that APP-INF is shared across all modules.
So to your question below you could just put it in the EJB module, BUT if
you have mutliple EJBs that you split into seperate modules your back tot
the same issue. So APP-INF is just the simplist solution over-all.
Split-dir is a specified way to lay out disk your src files
Split-dir
From code inspection, it looks like the JSP and EJB (therefore the web appmodule
and EJB module) both depend on the AppUtils class, which is not inAPP-INF, but
rather in a directory under the enterprise app directory that does notrepresent
a web app module or EJB module. In the build file's compile target, is itthe
wlcompile task invocation that causes compilation of AppUtils.java? Or isit
the ant task invocation (with "build.appStartup" as the value of thetarget attribute)
that causes compilation of AppUtils.java due to the dependency ofApplicationStartup
on AppUtils? And what subdirectory of the build directory doesAppUtils.class
end up in?
Why not just put AppUtils.java in the EJB module? Both dependent moduleswould
still be able to see it by virtue of the classloader arrangement. Doesputting
it in outside of all dependent modules represent a convention that BEArecommends?
>
Finally, why not put applicationresource.properties in the same place asits user
AppUtils.java?
Thanks,
Randy
"Mark Griffith" <[email protected]> wrote:
Randy:
(Rob may post later, but here is my take)
"Randy Stafford" <[email protected]> wrote in message
news:[email protected]...
Hello Rob Woollen and All,
I have a question about packaging and deployment with the "split
directory
structure"
in WebLogic Server 8.1.
Specifically, how does one go about deciding which classes to put inmyEnterpriseApp/myWebApp/WEB-INF/classes,
versus myEnterpriseApp/myEjbModule, versusmyEnterpriseApp/APP-INF/classes?
I think the answer to the first part is easy enough: if there are
classes
depended
on by, say, the servlets in a web app, but not depended on anywhereelse
in the
enterprise app, then those classes should go in WEB-INF/classes.
It's the other part of the question that gives me trouble. I use localinterfaces
on my session beans. Let's say I have a domain object class returnedfrom
a session
bean method and depended on by the web app. If I put that domain
object
class
under myEnterpriseApp/myEjbModule, then the web app can see it by
virtue
of the
classloader arrangement.
But the wlcompile Ant target supposedly compiles stuff tobuild/APP-INF/classes.
What stuff? How does it decide?wlcompile has a module factory. If a directory is claimed by a module
factory then it is compiled by that specific module compiler. The rules
for
module definition follow the same J2EE formatting rules.
So:
/myejb/
would be identified as a ebj module by:
*/myejb/meta-inf/ejb-jar.xml
*/myejb/myejb.ejb (EJBGen file)
then src files (*.java) will be compiled to
$BUILD_DIR/myejb/
/myweb/
would be identifid as a web module by:
*/myweb/WEB-INF/web.xml
Also for webapps
/myweb/WEB-INF/src/*.java
will be compiled ot
$BUILD_DIR/myweb/WEB-INF/classes
We choose WEB-INF/src following the struts precedence.
So a plain old module that has noting but .java files in it will go to
$BUILD_DIR/APP-INF/classes
If you have a jar of classes that you need to share across the entire
ear,
you would check it into your src tree at:
$SRC_DIR/APP-INF/lib/mycommon.jar
You can check out an example at:
$BEA_HOME/weblogic81/samples/server/examples/src/examples/splitdir/helloWorl
dEar
Hope this helps.
cheers
mbg
I haven't experimented and empirically observed
yet, but I couldn't find the answer in the documentation and tutorials.Is it
looking for java source files under src/myEnterpriseApp but not undermyWebApp
or myEjbModule? In general, does BEA have any recommendations in thisarea?
Thanks,
Randy -
Creation of oracle directory structure on mounted file system in linux
Hi,
I need to use datapump utility for which directory structure would be required. since my dump files are stored another system i usually mount the file system, can i create oracle directory structure on mounted filesystem in linux? do suggest urgently. thanks in advance.Yes you can why not
-
Directory structure for a J2SE+J2EE project: suggestions are very welcome
Hi, I have to start coding and organizing the CVS tree of an already mature project which is J2SE. This J2SE project can be described as a "core engine" for something else, and is a quite large project, and up to now has only a command line User Interface. I organized the dir structure as this:
/build.xml
/src/
/src/java/<package>/...../*.java
/src/demo/<package/...../*.java
/src/test/<package>/....../*.java
when I ant compile, all the .classes will be done in the "build" directory (reflecting the structure in the "src" dir):
/build/
/build/java/<package>/....../*.class
/build/demo/<package/...../*.class
/build/test/<package>/..../*.class
I am happy with this, but now comes the issue: a web interface to use this core engine (it will have the same package namespace) is in developing progess, so I have to put somewhere the *.jsp, the WEB-INF dir with web.xml and servlet sources: how would you do this? And where would you let Ant put the compiled servlet classes?
I can modify the previous directory structure to accomodate the J2EE part, this is really not a problem!
Thanks to who can suggest me a clean solution
AlessioCreate a web-inf folder at the same level of src and
jsp folder inside src
i mean
/build.xml
/src/
/src/java/<package>/...../*.java
/src/demo/<package/...../*.java
/src/test/<package>/....../*.java
/src/jsp
/web-infSo, would you put in /src/jsp only the *.jsp?
And what in /WEB-INF ? What woud you put there? Would you do something like:
/WEB-INF/web.xml
/WEB-INF/src/<package>/..../<my_servlets_and_j2ee_stuff>.java
/WEB-INF/classes/<package>/..../<my_servlets_and_j2ee_stuff>.java
In this manner sources and classes are in the same tree, it does not seem very clean to me, expecially if you consider that probably I must have a "test" directory to unit test some j2ee stuff (as for the j2se stuff in "src"): how would you do that?
Is this directory structure anyway what you meant or not?
alessio -
Directory Structure ?s for an Exploded Web Application
We have an application that consists only of JSPs and Servlets, no
EJBs. I am researching whether or not it's worthwhile to start using
EJBs. We're also migrating from Weblogic 5 to 6.1. I've managed to
migrate our application fine and have it up and running on WLS 6.1.
I'm confused about the exploded directory structure, the
application.xml file, where to put the EJBs and whether or not I have
to jar them. Here's our current directory structure:
DefaultWebApp/ JSPs here
DefaultWebApp/WEB-INF web.xml and weblogic.xml here
DefaultWebApp/WEB-INF/classes Servlets and other classes here
DefaultWebApp/WEB-INF/lib do my un-jar-ed EJBs go here?
I've been reading a lot of BEA's documentation, particularly
‘Deploying an Exploded J2EE Application' and a ‘Web Application PDF',
and looking for relevant threads on the weblogic.developer.interest
groups. It looks like the application.xml should go in a new
DefaultWebApp/META-INF directory. But where do the EJBs go?
I also see some directory structures with another /web directory
that's confusing me.
Oh, I've also managed to compile and jar up a trial Stateless Session
EJB. Then I think I ‘auto-deployed' it into the /applications
directory, and Weblogic seems to recognize it. But when I tried to
reference it in a JSP, I got an error message ‘class x is public,
should be declared in a file named x.java'. I'm assuming this is
related to the application.xml, where I need to define the ejb
directory.
Thanks.To deploy your web app together with your EJBs, you need to create
an "EAR" structure. Both your webapp and your EJB jars will be within
this new structure, at the same level. You may jar up your EJBs, or you
may explode their structure, it's up to you.
The resulting structure should look something like below:
EnterpriseApp/ <-- new top level
EnterpriseApp/META-INF/
EnterpriseApp/META-INF/application.xml
EnterpriseApp/lib/ <-- shared libraries (if any)
EnterpriseApp/EJB/ <-- ejbs go here
EnterpriseApp/EJB/META-INF/ejb-jar.xml
EnterpriseApp/EJB/META-INF/weblogic-ejb-jar.xml
EnterpriseApp/EJB/com/your/ejb/classes/here
EnterpriseApp/WebApp/ <-- move your current app here
EnterpriseApp/WebApp/index.jsp <-- JSPs goes here
EnterpriseApp/WebApp/other.jsp
EnterpriseApp/WebApp/WEB-INF/web.xml
EnterpriseApp/WebApp/WEB-INF/weblogic.xml
EnterpriseApp/WebApp/WEB-INF/lib <-- ui libraries go here
EnterpriseApp/WebApp/WEB-INF/classes <-- servlets go here
The above structure is identical to the structure to an EAR file, only "exploded"
as actual files and directories instead of being "jarred" into a single EAR file.
Your application.xml in this case would specify something like:
<application>
<display-name>EnterpriseApp</display-name>
<description>My Enterprise Application</display-name>
<module>
<ejb>EJB</ejb>
</module>
<module>
<web>
<web-uri>WebApp</web-uri>
<context-root>/yourAppRoot</context-root>
</web>
</module>
</application>
And in config.xml you would have an entry similar to:
<Application Deployed="true" Name="EnterpriseApp"
Path=".\config\mydomain\applications\EnterpriseApp">
<WebAppComponent Name="ui" Targets="myserver" URI="WebApp"/>
<EJBComponent Name="ejb" Targets="myserver" URI="EJB"/>
</Application>
regards,
-Ade -
Directory structure for the new Data Services Project
1) I do as prescribed in the manual "Building and deploying
Flex 2 Applications", page 325
"To create a web application make a copy of the /flex
directory and its contents. Rename the copy and store it in the
same location under /servers/default directory."
("flex" is an empty Flex Data Services application that
serves as a template for creating your custom application)
2) I create a corresponding project from Flex Builder 2 :
Project type: Flex Data Services
Root folder: C:\fds2\jrun4\servers\default\MyDS
Root URL:
http://localhost:8700/default/MyDS
Project name: MyDS
Project contents: C:\fds2\jrun4\servers\default\MyDS
2) I build the project
Immediately after "build project" the directory structure at
C:\fds2\jrun4\servers\default\MyDS becomes the following:
.settings
bin
----------------META-INF
----------------WEB-INF
---------------- --------------- classes
---------------- ---------------flex
--------------------------------jsp
--------------------------------lib
-------------------------------sessions
html-template
META-INF
WEB-INF
----------------classes
----------------flex
----------------jsp
----------------lib
----------------sessions
Notice that bin directory now contains another pair of
META-INF and WEB-INF in addition to those already existing in the
template project "flex".
Can anybody comment on this directory structure?
Which META-INF and WEB-INF are supposed to be used for
configuration?
What is the purpose of having two pairs of META-INF and
WEB-INF in the same web app?Hello -
first, those folders are necessary in deployment - You need
only the contents of the bin folder for deployment, not the
sources. Since you're compiling the application locally in FB2 it
places all of the supporting and necessary files into one location
namely the "bin" folder. You'd deploy the "bin" folder's contents
to the FDS server, perhaps another FDS server that is not your
"development" server -- like a production server. The data and
configuration information that your app needs for FDS services are
stored in the WEB-INF and META-INF folders so these need to travel
with the final product. On the production server you'd just cop the
"bin" folder and it's contents to the /servers/default folder -
where you could then rename your bin folder to "MyDS"
HTH, Bill -
Directory structure for servlets and webservices in one application
hi,
Can any one help me for creating servlets and webservices in one
application and deploying in Jboss 4.2.0.
I want to know exactly what is the directory structure for creating this
application and what are the additional .xml files for deploying this application.
if any one know this answere please tell the answere.I figured out a solution - it's a problem of policies. In detail: Server1's codebase entry (file:) refers to the class directory of Server1's project. In the simple case of only Client1, which has no codebase entry, it works fine without a file permission on the side of Server1. In the complex case of Client1+Server2, which has to have a codebase entry (file:) refering to the class directory of the Server2's project on a separate machine, for exactly the same method call from Client1 to Server1 a file permission entry on the side of Server1 is needed for Server1's class directory. But WHY ???
It seems to be a little confusing with the codebase entries, many of the posts are contrary to others and to my personal experiences. Some comments given by Adrian Colley throw a little light upon some aspects. Is there anybody, who can explain the whole topic, when, why, and which part of RMI application deals with codebase entries, also in case of not dynamic code downloading ? May be there is also a reference into the java docs, which I didn't found up to now.
Thanks in advance
Axel -
An EFFECTIVE development directory structure for J2EE platform?
Hi, here we r talking about deployment environment more than development
environment. Have u ever think about designing an EFFECTIVE development
directory structure for J2EE platform( e.g. weblogic )? u r not using the
deployment directories for coding, r u? :)
I used to construct a dir structure for dev and want to improve it.
d:/wholesystem/*.prj // Project files
...../module1/src/com/.... // Module source files
...../module1/doc/... // Module doc files
...../module1/classes/... // Module class files
...../module2/...
...../web/*.jsp // web page files
...../web/images/... // web page images
...../web/WEB-INF/... //...
Do u have any good ideas? Thanks!
* Name: Gary Wang
* Tele: 010-65546668-8119
* Mail: [email protected]Create a web-inf folder at the same level of src and
jsp folder inside src
i mean
/build.xml
/src/
/src/java/<package>/...../*.java
/src/demo/<package/...../*.java
/src/test/<package>/....../*.java
/src/jsp
/web-infSo, would you put in /src/jsp only the *.jsp?
And what in /WEB-INF ? What woud you put there? Would you do something like:
/WEB-INF/web.xml
/WEB-INF/src/<package>/..../<my_servlets_and_j2ee_stuff>.java
/WEB-INF/classes/<package>/..../<my_servlets_and_j2ee_stuff>.java
In this manner sources and classes are in the same tree, it does not seem very clean to me, expecially if you consider that probably I must have a "test" directory to unit test some j2ee stuff (as for the j2se stuff in "src"): how would you do that?
Is this directory structure anyway what you meant or not?
alessio -
Help me out with Directory structure for JSF+SPRING+HIBERNATE Project
Hi frnds ,
My name is Walter working for a startup software company . We are working on Hospital Management System (HMS) project .. MVC Architecture ...using Hibernate Spring and JSF ..we need to design Directory Structure for our project..
plzz help me friends in suggesting MVC Directory structure ...? also plzz help me by directing me with the navigation flow?
Thnxx in advance
Regards
WalterThank you so much .. friends ..for your kind replies..thanks to Illu, anguquga and special thanks to BalusC for giving me the advice for hiring EE Artitech ..
Anyways I have discussed with my teammates designing the directory structure
anguquga your directory structure is close to what I have designed ..referiing to a sample application on web..
Hospital Management system MVC architecture Directory structure
This is the way the structure goes on ..
model --> for Hibernate as well as Spring
View --> for JSF
src(-)
|
------(-) java
|
-------(-) model
|
------(+) businessobject
|
------(-) dao
|
------(+) hibernate
|
------(+) exception
|
------(-) service
|
------ (+) impl
|
------(+) util
(-) view
|
------(+) bean
|
------(+) builder
|
------(+) bundle
|
------(+) servicelocator
|
------(+) util
|
------(+) validator
(-) Web or WebRoot
|
----- (-) JSP Files�etc.,
|
----- (-) META-INF
|
------ (+) Images
|
------ (+) Scripts ==== CSS (cascading style sheets, JavaScript files etc.,)
|
----- (-) WEB-INF =========xml files web.xml, faces-config.xml etc.,
|
-----(-) Classes
|
-----(-) HMS
|
----- (+) model
|
----- (+) view
|
----- (+) lib
I am sure you may notice few errors .. if u find any plzz reply me back.... thnxx in advance for replies...and thnxx for giving your valuable replies...
Walter (Kaleem)
Maybe you are looking for
-
Spilled water, but my laptop still works. How can I check for damage?
So a little over a day and a half ago I knocked about 1/4 cup of water onto my 2014 Macbook Pro. It was on but not plugged in. I immediately turned it off and flipped it over at the same time. Some water poured out of the keyboard. Then I cleaned off
-
After reading the forums I've notice that several people have been having this problem for a while now. The cause seems to be the deletion of additional language files. I do run CCleaner on my mac to keep it clean and reduce the hard drive space a
-
In the HOW TO HANDLE IDoc ACKNOWLEDGMENTS doc do i do this configuration in my XI box or my receiving ECC box?
-
Image Preview grey out when using the Radial Filter
Hi, I am trying to use the radial filter on my photo in the Lightroom 5, but my problem is that when I tried to create the eclipse with my mouse drag on my photo, the photo immediate disapper and grey out, once then, I cannot do anything with my phot
-
I'm having trouble hooking up my phone to itunes. I keep trying and it syncs everything EXCEPT the latest version of itunes. It keeps saying that I'm not connected to the internet, but I am. I can access the store and download music, I can open inter