Building, packaging and deploying java web components from netbeans is unclear to me. Let me give some background information concerning my attempts at achieving this processes. I'm a hands on learner and i've learnt many things this way. But i sense that it can be needless trying to clarify this issue myself at this juncture. I recently installed the glassfish version 3 web application server. Typical of software installations like this, a documentation accompanied it and i believe (to a reasonable extent) i followed the instructions in getting the required software set. The Javaee 6 tutorial that came with the installation directed me to a two directories precisely:
C:\glassfish3\glassfish\docs\javaee-tutorial\examples\web\hello1> The "hello1" directory contains jsp web components
C:\glassfish3\glassfish\docs\javaee-tutorial\examples\web\hello2> The "hello2" directory contains servlet web components
I followed the directive as stated in the tutorial (to the best of my knowledge) at building,packaging and deploying these sample web components, but i sensed a clog in the wheel of progress somewhere. These are the steps i followed(as directed from the tutorial) but where i discovered there's a problem somewhere:
(1)With the netbeans IDE loaded, I was directed to click on File-Open project i did this
(2)In the open project dialog i was to navigate to C:\glassfish3\glassfish\docs\javaee-tutorial\examples\web\ i did as well
(3)I was to select the "hello1" folder i did
(4)The next step was to "Select the open as Main Project check box" This is the point i felt something isn't right.
In the "Open project dialog", the textfield under the "Project name" area showed the message <unregonized project; missing plug-in?> The "open as main
project area" was inactive and uneditable. There is no point projecting to the next two steps which had to do with clicking the "Open Project" button and going
to the projects tab, right-clicking the hello1 project and selecting "build".
I"ll appreciate somebody giving me straight answers at resolving the issue of building, packaging and deploying java web components from netbeans. I dont
need reference to materials anymore (I've seen much, though i still go through other sources once the knowledge of the fundamentals is clear). One issue i
believe that's closely connected to this is how to organize the directory structure with respect packing of the software components. I'm not totally a novice to
netbeans but i'm very unclear (at least at the moment) about how to organize the directories where this component or that component should be with respect to
netbeans. For example if i'm to make a new project of the sample programs of the tutorial what will should be the correct project location with respect to netbeans. Will it be C:\glassfish3\glassfish\docs\javaee-tutorial\examples\web and the project folder be C:\glassfish3\glassfish\docs\javaee-tutorial\examples\web\hello1> I tried something like this, i still wasn't getting the expected. In a nutsell, can i set a different directory path in netbeans for web components having
another path on my file system? How can i successfully, build, package and deploy web components set in a directory path different from that set in net beans. does the net beans system of setting directories correlate with that on my computer. I believe the clarification of this issues will be the key to my understanding the netbeans IDE. On a final note, the concept of the "main" project and sub-projects in net beans is unclear to me at the moment. Does that mean i dont have to
create a new project for every class i write? Does it mean that in a single consisting of many classes, the main class represents the main project and the class that are composed in the main class the sub-projects. I'll be very glad to have straight answers to this rather multiple questions.
Olakunle oladipo oni
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: Building,packaging, and deploying java web components from netbeans