wood burning stoves 2.0*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Is PDF acceptable in SCEA part-2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Is PDF acceptable in SCEA part-2" Watch "Is PDF acceptable in SCEA part-2" New topic
Author

Is PDF acceptable in SCEA part-2

Rajan Choudhary
Ranch Hand

Joined: Mar 17, 2011
Posts: 196
Hi, As we know most of the people keep PDF reader as browser plugin so I was just wondering if we can generate a PDF of most of the images and add a link to this PDF in index.html. Has anybody tried this before? Is it recommended?
Will Myers
Ranch Hand

Joined: Aug 05, 2009
Posts: 330

Not sure I'd risk it personally, would be a shame (and expensive) to fail just because the format is wrong!
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42608
    
  65
Rajan Choudhary wrote:As we know most of the people keep PDF reader as browser plugin

Who is "we", exactly? You and a bunch of people you happen to know? I certainly don't know that, and I certainly don't allow my browser to open document formats for which the most widely used readers need to be updated with security patches on a regular basis. Nor do most of the people I know.


Ping & DNS - my free Android networking tools app
Sharma Ashutosh
Bartender

Joined: Apr 06, 2001
Posts: 346
Read Cade's book thoroughly he has mentioned that one of the candidate failed may be due to something like this. Exam instructions clearly say a JAR file which contains text that can be read in a browser(HTML). Images should be JPG, GIF or PNG etc...
IMHO, It will be a brave effort to fail the exam if you do something like this or may be you can set an example, could you please try it out?


Ashutosh Sharma
SCJP 1.2, SCEA 5, Brainbench certified J2EE Developer, Documentum Certified Professional
Blog : http://scea5-passingpart2and3.blogspot.com/
Yegor Bugayenko
Ranch Hand

Joined: Feb 11, 2011
Posts: 78
BTW, what is the point of using PDF instead of PNG/GIF/JPEG? What exactly are you trying to achieve?


SCEA, PMP, read my blog: www.yegor256.com
Rajan Choudhary
Ranch Hand

Joined: Mar 17, 2011
Posts: 196
I have decided not to use PDF. I was just thinking a kind of short cut to deal with the mockups by printing them into PDF (as they are not part of mandatory deliverables) so the overall size of the delivery can be reduced and I see PDF as more readable as compared to HTML page where I need to manage more links (top, bottom, back to home etc)
Andrew Monkhouse
author and jackaroo
Marshal Commander

Joined: Mar 28, 2003
Posts: 11508
    
  95

Nice to see you thinking about this, however:

Rajan Choudhary wrote:the overall size of the delivery can be reduced

You might be seeing the PDF as being smaller than the sum of the images, however this is misleading. The images are still stored within the PDF, however sometimes (depending on the image format) they may be compressed.

But this is actually a hidden negative - when you try to put the PDF into the deliverable Jar file, you will be trying to compress a compressed file. Almost all compression routines do badly at this, and I would be surprised if the Jar containing the PDF was smaller than the Jar containing the images.

Rajan Choudhary wrote:and I see PDF as more readable as compared to HTML page where I need to manage more links (top, bottom, back to home etc)

Again, I would see this as a hidden negative. If you have the links, why remove them?

A good PDF document would have navigation links - they are not that hard to make.

Alternatively, if you like having a single-flow PDF document, then you could effectively create a single-flow HTML document.


The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
Rajan Choudhary
Ranch Hand

Joined: Mar 17, 2011
Posts: 196
Andrew, Thanks. This exactly I was expecting as answer to my questions. Now everything is clear.
 
Consider Paul's rocket mass heater.
 
subject: Is PDF acceptable in SCEA part-2