lee3star

lee3star

Joined Member # 1212512
0 Posts 0 Replies 357 Reputation

ok, the point is: is it a embedded stuff or a standalong product? Can I use it inside my java code? say if I have a collection of data, I'd like to generate a report, what should I do in my code, if I use the openoffice you mentioned?

6 Replies 8,766 Views

Sorry, I don't know much about openOffice, maybe it's a good thing I should have a look. But here, FO, I'm talking about can be used in my Java code to generate dynamic pdf output. I'm not sure if openOffice can make that or not.

6 Replies 8,766 Views

FO is a web standard to generate pdf file from xml document. For detail information, pls click on the link provided, which is a good place to learn FO, surely better then FOP(an open source project in apache to generate pdf using java) document. below is a snippet from the link: XSL-FO Documents XSL-FO documents are XML files with outp

6 Replies 8,766 Views

You can get at some/pkg/resource.properties programmatically from your Java code in several ways. First, try: ClassLoader.getResourceAsStream ("some/pkg/resource.properties"); Class.getResourceAsStream ("/some/pkg/resource.properties"); ResourceBundle.getBundle ("some.pkg.resource"); Additionally, if the code is in a class within a some

0 Replies 4,202 Views

when using BMP to implement persistence, we have to implemente a few ejb funtions: ejbCreate(), ejbStore(), ejbLoad(), ejbRemove and etc. When a ejb bean is loaded, no matter it's changed or not, when it's not needed, ejbStore() method will be executed to store the ejb object to database. what a waste! Cause it's BMP, you have to control everyth

0 Replies 3,821 Views

It's a shortcoming of using Exception. we can only return one exception with one error message. However, sometimes, we need more. For instance, when we are doing a validtion of a form, we may return a list of errors like: name should be entered; password doesn't match and etc. It's better return a list, rather than return one each time.

0 Replies 4,954 Views

1. why using exception Normally, we have two choices when returning values from a method: 1) return true or false 2) return void According to my experience, using true or false is only the option when the method is very simple, like compare two objects or somthing like that. When this method is complicate enough, when the method may fail for

0 Replies 4,566 Views

What's covered Configuring the browser to open PDF files within the browser window Configuring the browser to open PDF files in an Acrobat window Downloading a PDF file to your hard drive You can configure your Web browser to open PDF files either in the browser window or in a separate Adobe Acrobat window. To configure the browse

1 Replies 4,562 Views

Sometimes you will need to get an attribute from request or session. it's easy to use: core:out value='${requestScope.attributeName}" But, if the attribute's name is something like "aaa.bbb.ccc", you will have trouble. coz the JSTL will think you are trying to get a value ccc from object bbb from object ccc. To dear with "." in such s

0 Replies 1,519 Views

It's my first weBlog, actually don't know what to write Just welcome everybody comes to my blog. My blog will be mostly about Java and J2EE stuff, which is my career. And I'm quite like those smart patterns, to make a project easier and maintainable. My career goal is to become an architect. I know there's a long way to go, but definetely not unreac

0 Replies 776 Views