Frank Malinowski

Ranch Hand
+ Follow
since Jul 24, 2003
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Frank Malinowski

Originally posted by Bear Bibeault:
It doesn't run on the client. No one said it did. DWR uses Ajax and servlet technology to allow a sort of RPC from the browser to Java classes on the server.



What types of variables does it have the ability to send to and receive from the server? Primitives? Arrays? Multi-dimensional data structures? I just want to get a feel for the depth and breadth of the classes and methods it will be able to interact with.

Thanks,
Frank

Originally posted by Ryan Asleson:
The book covers a whole bunch of Ajax related aspects. Yes, we do discuss integrating Ajax into various frameworks, incluing Struts, Tapestry, JSF, and Spring.



Do you have a link that would show the table of contents and/or topic list of the book? Also, do you touch on cross-browser issues?

Thanks, Frank
Does you book delve into the subject of adding Ajax niceties to existing frameworks? For example, if you wanted to design an application using Struts does your book detail how you could add Ajax to portions of your application?

Thanks, Frank

Originally posted by Wiley Snyder:
HSQLDB

Is used to setup a demonstration or demo database that is setup within jboss quickly.

for sh*ts and giggles

If you want to use a production database you should consider finding one for jboss to use and that suits your particular projects needs.



I'm not talking about using it to store application data. I'm simply talking about the default setup of JBoss to use it to store the JMS messages.

Frank
15 years ago

Originally posted by Henk O:
Don't use hsqldb in production.
We found it out the hard way when using JMS. We even had JBoss lock up entirely a few times. Now we're using oracle and everything runs smoothly.



So you're using Oracle over the network for your JMS queue? My concern was that we would notice a performance hit if we had to write all of our JMS stuff over the network as opposed to in memory on the server as is the case when using HSQLDB.

We use Oracle for all of our normal application data.

Frank
15 years ago
What are your thoughts on using HSQLDB in production. We recently had some people from our office take a class that was taught by someone from JBoss. This person flat out told them that they should NOT use HSQLDB in production. If I'm not mistaken doesn't JBoss use HSQLDB to store its JMS queue?

This seems to be a contradiction.

Frank
15 years ago
I am trying to create a SOAPEnvelope using Axis. For the particular message that I need to send The tags in my body do not need prefixes. So, I am using the following:



However, the xml that is created is as follows:



I don't want the prefix soapenv. I simply want the tag to be as follows:


Has anyone seen this and if so do you have a suggestion?

Thanks, Frank
16 years ago
I would like to ask which IDE your developer's use at work?

The book you have chosen (Head First Java) is a great book to start with. It not only tells you the basics of Java but also allows you to get a handle on OO development. I would recommend the following for getting started:

  • Learn about the use of packages. Why are they good to use and how you can set them up.
  • Take a look at Ant. If you are interested in diving deeper and deeper in to the world of Java, taking the time to learn the basics of Ant will save you a lot of time in the future.
  • Hello World! is the standard starting point but do some multi-class examples early on. You need to gain an understanding of how classes use and interact with one another. Also, in order to understand OO, you will need to understand why some things need to be in separate classes and why others need to be together.
  • *******This should probably be at the top of the list. Learn how to use the API and USE IT!!! It is one of the best features of Java and the greatest asset a programmer can have.


  • Later, Frank
    16 years ago

    Originally posted by Parag S. Kulkarni:
    i will recommend use of Web Objects technology if u r working on Mac & Java
    Great tech



    But not at all great if the user is at the level of Head First Java.

    Frank
    16 years ago
    What do you mean by plugin for Tomcat and JBoss? Are you looking for the ability to debug from within Eclipse or is it something else?

    As far as Eclipse plugins go, personally Eclipse is my least favorite IDE but if forced to use it I wouldn't use it without the MyEclipse plugin. It costs $30 but it is well worth it.

    http://www.myeclipseide.com/

    http://www.myeclipseide.com/ContentExpress-display-ceid-15.html

    Later, Frank
    I would highly recomend using Ant to build, package, and deploy your project so that it isn't tied to an IDE. Also, if you are set on using Eclipse I would highly recommend adding the MyEclipse plugin for $30. Eclipse without it is missing a lot of things you will wish you had when developing J2EE projects.

    Later, Frank
    16 years ago
    Also keep in mind that if you already have existing projects you can create a new project with intellij and simply navigate to your existing project source folder in order for it to import the existing source. This will work when creating multi-module projects as well.

    I do this all the time with existing projects that have their own Ant build scripts as well. It works like a charm. Also, the feature that was mentioned above (dropping files into the directory) works with version control systems as well. For example, if you check out files that were added to a project from your version control system they will show up in your project automatically too.

    Also note that there is no reason to restart intellij. It will recognize these files while it is running.

    Frank
    Refactor: Encapsulate Fields...

    Later, Frank

    Originally posted by Ali Pope:
    :-(. Please take into account my suggestions. They will work.

    Maybe, the hibernate extension will be needed if you use Hibernate Ant tasks to build the project.

    Good luck cleaning the project! ;-)



    I read the wrong README file earlier and see what you were referring to now. However, since I am new to Enterprise development I'm still unsure when the "optional" jars would be needed so it seems that I should probably include them when starting out.

    I will probably try the IDE suggestion at a later date.

    Frank

    Originally posted by Ali Pope:


    I hope you are not really meaning that. The README file in the lib directory of Hibernate distro gives you the exact list of needed jars.

    However for working inside an IDE (just for editting you need only hibernate jar and commons-lang). For running your application from inside read the above.



    Yes, I really mean that. I am simply telling you what the Hibernate book that I currently own says to do.

    Second, I am not using an IDE at the moment. I am doing everything via the command line.

    Finally, the README file tells you how to run the Demo and Tests that come with Hibernate. This doesn't tell me how to set it up when running my own projects.

    FYI, the book in question tells you to set up a project hierarchy as follows:

    1) Create a project directory.
    2) Create subdirectories: src, lib, data.
    3) Copy hsqldb.jar to your project/lib directory.
    4) Locate the lib directory in the Hibernate directory and copy ALL of its contents into your own project lib directory.
    5) Copy hibernate2.jar into your project/lib directory.
    6) Copy the entire contents of hibernate-extensions-2.1.2/tools/lib into your project/lib directory.
    7) Copy hibernate-tools.jar into your project/lib directory

    It even tells you what the contents of your project/lib directory will be after this process and it contains 43 items weighing in at 11.3MB.

    This is the reason I asked for advice. I'm new to Hibernate but this seemed odd to me.

    Frank