Searching Ebook in java

hi
Where could I get free Ebook for java...
Thanks

@gif-sa-as:
Links to illegal distributions of copyrighted material are in violation of the [terms of use|http://www.sun.com/termsofuse.jsp#g2_1] of this forum.
~

Similar Messages

  • How to search ebooks in iTunes if I only know ISBN of one book? How could I know its iTunes book'ID from the isbn?

    Dear community members,
    I'm new here. I have a question about searching ebooks in itunes search API.
    If I know ISBN of one book, either 10-digit ISBN or 13-digit ISBN, how could I know its ebook ID in itunes store?
    In other words, is there any rule that I could convert regular ISBNs to ebook IDs? Or where I could find the reference?
    Thank you.

    Try searching Amazon or Barnes & Noble or your local library, if they have an online search, for the ISBN. That will give you the title of the book so you can then search the iBooks store. Or just buy the book from Amazon or B&N as a Kindle or Nook book; both have viewers for Windows and Mac as well as iOS devices.
    Regards.

  • In search of simple java editor

    Hello,
    I'm currenty searching for a java component that can display images.
    Preferably it has:
    - zooming capabilities
    - pluggable commands
    I have allready tried using DisplayJAI in combination with imagefilters. The only thing missing is a simple zooming (currently, I have quality loss when zooming in and out succesively).
    Does anyone know of a simple imagewidget that has these capabilities (preferably open-source)?

    You could just extend JComponent and make your own class...

  • Can anybody send me ebook of java for scjp

    hi
    i m new to java ,want to become scjp.
    can anybody send me ebook of java for scjp .
    my id is "[email protected]"
    waiting for replay
    thanks

    no, we're not going to send you copyrighted material belonging to others.
    You're asking people to commit a crime on your behalf, that's criminal behaviour that can get you in prison.

  • How do I search the downloaded Java? Platform, Standard Edition 6 API?

    I am a newbie to Java (I had done some limited programming in C ++ years ago). I have downloaded the Java? Platform, Standard Edition 6 API Specification, and can view this in my Firefox browser. How can I search to certain classes in this documentation easily? For instance, if I want to ding out all of the operations available for String or System.out, etc, , is there a way that I can type in System.out, or String somewhere, and get a list of what is available?
    Thanks

    Brian_Rohan wrote:
    Here is the code that I compiled and it worked:Yeah, "args" there isn't part of the API. It's the name of the variable that is the first parameter to the main method defined there.
    The stuff between the parentheses is a list of declarations of local variables that form the parameter list to that method, to put it technically.
    The thing that's part of the API is the class String. In "String[] args", the bit on the left is the type of the variable, and the bit on the right is name of the variable. A name of something you define like that wouldn't be in the API. However, the name of the class String is.
    If you look at the import statements, you'll see if the name "String" is actually shorthand for a class defined elsewhere. There's this:
    import java.util.*;So you can know that "String" is either defined in the java.util package, in the "helloworld" package (which also wouldn't be in the API because you're defining in there using the package keyword), or in java.lang. (The "java.lang" package is automatically imported.)
    You could look in the API docs for java.util.String or java.lang.String to find the class definition. But I'll save you the time by letting you know that it's actually java.lang.String.
    Again I am new at this, what would args.length be?You'll see that the type of the "args" variable is "String[]". That means that it's an array of String objects. (The [] means arrays.) Arrays all have a field called "length". This also is part of the language, not the API, so it would be in a language guide, not the API.
    The value of args.length would depend on how you ran your program. When you run a program on the command line like this:
    java HelloWorldor this:
    java HelloWorld foo bar bazThe java virtual machine takes all the things after the class name and sticks them in an array of String. Then it looks for a static method named "main" in the HelloWorld class, and passes it that array. So in the first case above, args.length would be zero, and in the second case it would be three.
    By the way, when you post code, please wrap it in code tags. Highlight it, then click the "CODE" button above the text input box.
    Edited by: paulcw on Nov 4, 2009 6:35 PM

  • Search Engine in Java

    Hi All,
    I just wonder anyone can lend me a hand please. I am using Java to develop a search engine at the moment, I need to store all the words from a single html page, and I have done this, but the thing is how can I get all pages from a certain intranet? Thank you in advance.
    Best Regards,
    Ray

    As per my knowledge any search engine while use the meta data of a html page first then go for the whole contents.
    Ans it is always better to use google or any other searching tool instead of developing it from scratch. it is good only for practice.

  • Search Algorithm in Java

    Hey Guys,
    I have written a crude search algorithm which extracts 4 fields from a database table into the String type of Java. Then this String object is tokenized and then within these tokens I search for the text the user has used.
    Once, I faced this problem that one of the String pulled from the DB was so huge that I got the OutOfMemory exception. Simple stating it, the text was so big that my system could not store all that text in one String object.
    I resolved this by adding more heap to java by doing:
    java -Xmx512M MySearchClass
    Now I am afraid that if there is another HUGE text in the DB , I can still run out of memory.
    Do I just need to get MORE RAM to my system and allot really huge heap space, such as 4 GB or so , so that if need be, the JVM can use it ?
    Suppose I get a server machine with 4 GB RAM, at some stage I'd still have an upper limit on the amount of text I can extract from the DB, right ?
    Is there any other way to stream the text from DB and then search ? Remember that I am tokenizing the text in the algorithm, so I think I can't use a buffer, or can I ?
    thanks a ton !
    -AZ

    These are SQL queries. I use SQL queries to pull out the text in the DB and then store it in a String object. The problem is that the text in DB can get so huge that the String object cannot hold it anymore due to memory limits. The JVM gets assigned a heap size and the size of the String object can get really big to exceed the heap size.
    I used : java -Xmx512M MySearchClass
    That assigned 512MB to the JVM so I haven't encountered the OutOfMemory exception so far. But my guess is that for some other data set, the String can be so big that even 512MB might not be enough.
    This search algorithm will be deployed on a server class machine with about 4 GB RAM. So we can give JVM 4GB heap space to use. But its a limitation again , right ?
    These text in DB are extracted from PDF files.

  • Binary search tree in java using a 2-d array

    Good day, i have been wrestling with this here question.
    i think it does not get any harder than this. What i have done so far is shown at the bottom.
    We want to use both Binary Search Tree and Single Linked lists data structures to store a text. Chaining
    techniques are used to store the lines of the text in which a word appears. Each node of the binary search
    tree contains four fields :
    (i) Word
    (ii) A pointer pointing to all the lines word appears in
    (iii) A pointer pointing to the subtree(left) containing all the words that appears in the text and are
    predecessors of word in lexicographic order.
    (iv) A pointer pointing to the subtree(right) containing all the words that appears in the text and are
    successors of word in lexicographic order.
    Given the following incomplete Java classes BinSrchTreeWordNode, TreeText, you are asked to complete
    three methods, InsertionBinSrchTree, CreateBinSrchTree and LinesWordInBinSrchTree. For
    simplicity we assume that the text is stored in a 2D array, a row of the array represents a line of the text.
    Each element in the single linked list is represented by a LineNode that contains a field Line which represents a line in which the word appears, a field next which contains the address of a LineNode representing the next line in which the word appears.
    public class TreeText{
    BinSrchTreeWordNode RootText = null;// pointer to the root of the tree
    String TextID; // Text Identification
    TreeText(String tID){TextID = tID;}
    void CreateBinSrchTree (TEXT text){...}
    void LinesWordInBinSrchTree(BinSrchTreeWordNode Node){...}
    public static void main(String[] args)
    TEXT univ = new TEXT(6,4);
    univ.textcont[0][0] = "Ukzn"; univ.textcont[0][1] ="Uct";
    univ.textcont[0][2] ="Wits";univ.textcont[0][3] ="Rhodes";
    univ.textcont[1][0] = "stellenbosch";
    univ.textcont[1][1] ="FreeState";
    univ.textcont[1][2] ="Johannesburg";
    univ.textcont[1][3] = "Pretoria" ;
    univ.textcont[2][0] ="Zululand";univ.textcont[2][1] ="NorthWest";
    univ.textcont[2][2] ="Limpopo";univ.textcont[2][3] ="Wsu";
    univ.textcont[3][0] ="NorthWest";univ.textcont[3][1] ="Limpopo";
    univ.textcont[3][2] ="Uct";univ.textcont[3][3] ="Ukzn";
    univ.textcont[4][0] ="Mit";univ.textcont[4][1] ="Havard";
    univ.textcont[4][2] ="Michigan";univ.textcont[4][3] ="Juissieu";
    univ.textcont[5][0] ="Cut";univ.textcont[5][1] ="Nmmu";
    univ.textcont[5][2] ="ManTech";univ.textcont[5][3] ="Oxford";
    // create a binary search tree (universities)
    // and insert words of text univ in it
    TreeText universities = new TreeText("Universities");
    universities.CreateBinSrchTree(univ);
    // List words Universities trees with their lines of appearance
    System.out.println();
    System.out.println(universities.TextID);
    System.out.println();
    universities.LinesWordInBinSrchTree(universities.RootText);
    public class BinSrchTreeWordNode {
    BinSrchTreeWordNode LeftTree = null; // precedent words
    String word;
    LineNode NextLineNode = null; // next line in
    // which word appears
    BinSrchTreeWordNode RightTree = null; // following words
    BinSrchTreeWordNode(String WordValue)
    {word = WordValue;} // creates a new node
    BinSrchTreeWordNode InsertionBinSrchTree
    (String w, int line, BinSrchTreeWordNode bst)
    public class LineNode{
    int Line; // line in which the word appears
    LineNode next = null;
    public class TEXT{
    int NBRLINES ; // number of lines
    int NBRCOLS; // number of columns
    String [][] textcont; // text content
    TEXT(int nl, int nc){textcont = new String[nl][nc];}
    The method InsertionBinSrchTree inserts a word (w) in the Binary search tree. The method Create-
    BinSrchTree creates a binary search tree by repeated calls to InsertionBinSrchTree to insert elements
    of text. The method LinesWordInBinSrchTree traverses the Binary search tree inorder and displays the
    words with the lines in which each appears.
    >>>>>>>>>>>>>>>>>>>>>>
    //InsertionBinTree is of type BinSearchTreeWordNode
    BinSrchTreeWordNode InsertionBinSrchTree(String w, int line,                                             BinSrchTreeWordNode bst)
    //First a check must be made to make sure that we are not trying to //insert a word into an empty tree. If tree is empty we just create a //new node.
         If (bst == NULL)
                   System.out.println(“Tree was empty”)
         For (int rows =0; rows <= 6; rows++)
                   For (int cols = 0; cols <= 4; cols++)
                        Textcont[i][j] = w

    What is the purpose of this thread? You are yet to ask a question... Such a waste of time...
    For future reference use CODE TAGS when posting code in a thread.
    But again have a think about how to convey a question to others instead of blabbering on about nothing.
    i think it does not get any harder than this.What is so difficult to understand. Google an implementation of a binary tree using a single array. Then you can integrate this into the required 2-dimension array for your linked list implemented as an array in your 2-d array.
    Mel

  • Who can tell me how to search keywords in java

    recently I'm doing a project called "Persistent Search Engine",
    when I came to search part implementation, I'm puzzeld with the resource on the web, I found many of the implementation was did with the package " javax.help.search", but I didn't know how to use it, and where can I get it, or just it's already in the java libarary? who can tell me something about it ?
    thankyou very much! ---shieldy

    See here http://java.sun.com/products/javahelp/

  • Customizing standard MSS Employee Search (Web Dynpro Java)

    Hi Guys,
    Currently I am working on EP 7.0, and we have some requirements on MSS Employee Search.
    Based on SAP help:
    Technical Names of iViews :     com.sap.pct.erp.mss.employeesearch_geinfo
    Technical Names of Web Dynpro Applications :     sap.com/mss~eepro/GeneralInformation
    So downloaded package msseeprosap.com through NWDI, and opened in NWDS.
    There are 3 applications there:
    com.sap.xss.hr.eeprofile.GeneralInformation
    com.sap.xss.hr.eeprofile.CompensationInformation
    com.sap.xss.hr.eeprofile.PersonnelDevelopment
    and 2 Components:
    CEmployeeProfile_1Comp
    CEmployeeProfileAllComp
    but there is no views inside these 2 components which contains the screen layout.(E.g: Dropdown list for Employee Selection, Input fields for Last name, Personal Number, Personal area, etc)
    How can I identify which package contains the screen layout for employee search?
    Thanks a lot.

    currently our project has a requirement to modify Employee Search iview: When user select one Org Unit, We need to have a button under the table which contains the users.
    We imported package msstmvsap.com and found that it is using  OADP screen.
    Thus we imported pcui_gpoadpsap.com,  we feel View "DataViewView" is the view that contains the user table, so I simply added one textview there, then deploy to server.
    Then I run Employee Search, it is giving error
       java.lang.ClassCastException: com.sap.xss.ser.oadp.java.OADPObject incompatible with com.sap.xss.ser.oadp.java.OADPObject
        at com.sap.xss.hr.tmv.vac.VTeamViewerComp.onBeforeOutput(VTeamViewerComp.java:303)
        at com.sap.xss.hr.tmv.vac.wdp.InternalVTeamViewerComp.onBeforeOutput(InternalVTeamViewerComp.java:210)
        at com.sap.xss.hr.tmv.vac.VTeamViewerCompInterface.onBeforeOutput(VTeamViewerCompInterface.java:144)
        at com.sap.xss.hr.tmv.vac.wdp.InternalVTeamViewerCompInterface.onBeforeOutput(InternalVTeamViewerCompInterface.java:136)
        at com.sap.xss.hr.tmv.vac.wdp.InternalVTeamViewerCompInterface$External.onBeforeOutput(InternalVTeamViewerCompInterface.java:212)
    Then i removed that textview, deploy again, still it has this problem.
    Any help?
    Thanks with rewarding points!
    Regards,
    Guo Feng

  • How to implement a search engine in java ?

    Hi All,
    1. Can anyone explain me with java code how to connect to a excel database residing on a
    different(I know that we do it thro' dsn) machine in my network. I know that we do it with a dsn.
    I created a network map but when I execute the statement
    "Connection conn = (Connection)DriverManager.getConnection("jdbc:odbc:accesscarddsn");"
    then I am getting the error:
    SQLException:[Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 1.
    2. I am doing a website where some pages of website are jsp, servlets. I want to implement a search functionality in my site so that if the user types a keyword then I need to show him the links to the pages(whether jsp,html) which contain this keyword. How do I do that other than using property files .
    Thanks & Regards,
    Kumar.

    With regard to your first question,you need to supply user name and passwrd in the connection statement.I guess that's problem when it saya..too few parameters. IF there is no user name and passwd, sne dnull strings.
    With regard to the search functionality, there are many ways you can implement it.I am not sure about any readymade products available on the web, however you can code it yourself, it might be time consuming but I feel it is better.You can do it this way:
    1. Parse all the html docs in ur website, ignore all the html tags and maintain a HASH table of all words and the locations you found the word in.You can optioanlly remove all stopwords, i.e. words that occur commonly like 'a', 'an' etc..
    2. The next phase is to take a query through a cgi program and search the hash table for all keywords,make sure you seach for each keyword in the query seperately.Retreieve the docs, display the results on a html page.
    Cheers!

  • R/3 search helps in java web dynpro

    Hello,
    A customer of ours has some Z transactions in its R/3 system, which basically present a very simplyfied version of MIGO. This Z transaction makes extencive use of Search Helps, which in some cases have been extended.
    A ABAP developer with some  Web Dynpro experience showed me that it was easy to integrate these search helps into his web dynpro application.
    I cannot find how to do this in java web dynpro with the developer studio. Is this possible and if yes, how?
    Greetings, Walter.

    Hi Walter,
                  You can use search helps in Web Dynpro for Java also. The feilds with check table in R/3 automatically give search helps. To provide explicit search help you need use EVS or OVS.
    These are the tutorials
    OVS https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/wd%20java/wd%20tutorials/web%20dynpro%20valuehelp%20using%20object%20value%20selector.pdf
    Value help
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/wd%20java/wd%20tutorials/value%20help%20in%20web%20dynpro%20applications.pdf
    EVS
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0e57440-ec1c-2a10-36b1-fe92341f98c4
    regards,
    Siva

  • TREX Search using Standalone Java code

    Hi Expert,
    I am new to TREX and KM, so please help me in this query.
    I want a <b>standalone JAVA program</b> to call the TREX API's and do the search. Now here when I searched this forum I got to know that TREX APIs as such can't be used directly.
    So please suggest a work around for this. If anyone have any code samples then please let me know.
    Also I have read something about a <b>Java Client</b> through which we can da a TREX search. From where can I get this code/page.
    Thanks & Regards
    Suraj

    Hi,
    Have you read this blog ?
    Using the KM Indexmanagement APIs for searching with TREX
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9237e490-0201-0010-f3a1-9a322ccbd8b1
    Patricio.

  • Firefox hangs on Google search, since last Java update

    Since latest Java update have been getting the message below, in troubleshooting info, every time I try to do a Google search
    == This happened ==
    Every time Firefox opened
    == Thursday, May 6

    Help me with this problem: Debug Error:[Exception... "Node was not found" code: "8" nsresult: "0x80530008 (NS_ERROR_DOM_NOT_FOUND_ERR)" location: "chrome://ffamazonhot/content/lib/Extension.debug.js Line: 366"]

  • How to interact with google search engine using java HTTP POST

    I am trying to develop an desktop app that acts as an online radio tuner. I want to use google as an index site for actually searching for radio stations online. So I was wandering if it is possible for me to use java to actually interface with the google search engine servers. For example, I have built a gui that allows you to enter search text. This gui will connect to the web. I would like it to connect to the Google site and post the query to the google web servers. Then i would like to began to parse the response( html page) that i get back from the google servers. Like using google without actually typing in the text field on the google site. Can anyone tell me if it is possible to do this with java. If so, what would be the best way to go about doing this. Thanks.

    Thanks for the response. It was actually alot easier to do than I anticipated. All I had to do was create a URL object initialized with the google url(search text embedded in the url - http://www.google.com/search?q=" + searchText + "&hl=en&ie=UTF-8&oe=UTF8).
    Looks like this:
    String google = http://www.google.com/search?q=" + searchText + "&hl=en&ie=UTF-8&oe=UTF8;
    URL url = new URL(google);  // creating Google Url object
    URLConnection connection = url.openConnection();
           connection.setDoOutput(true);
           connection.setRequestProperty("User-Agent", "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)" );  // fooling google servers into thinking the request is coming from a real browser
           BufferedReader reader = new BufferedReader(new InputStreamReader(connection.getInputStream()));The content returned by the google server can be accessed calling the BufferedReader class methods.

Maybe you are looking for

  • Post upgrade issues inSU25 2(B) step

    Hi , I have few query regarding this SU25 2(B) 1.This step will lists out all the transactions that are modified in older version from SAP Defaults.    I had observed that only the objects for which the modified flag is set in USOBX_C , there is a co

  • Show pdf with wpg_docload

    I am trying to: Call a procedure in the db from Forms (904) through web.show_document, using a DAD, which will save a pdf-report (904) in a blob and after that show it in the new window. I get the pdf-report from a url to the report servers cache. Th

  • Material type for Project related

    Hi , When creteing the material master we have which take  "Material Type"  if it related to project , i am perticular about construction and instaltion related business topic . Normally we take Raw material , semi finished material and finished mate

  • Run a cmd command in LabVIEW with parameters

    I have an executable program, for example myprogram.exe, located in "C:\Documents and Settings\myname\myprogram.exe" (I use windows xp 32 bit) When I run the program (by running cmd and type "myprogram.exe > to_text.txt" on the command line), the pro

  • Another RAID 0 Question

    Would the following two scenarios allow me to run BC with a Raid 0: 1. Put Vista and Mac OS on a single, largest possible Raptor 10k (or even 15k) boot drive, which would also run all apps. (Adobe CS3 programs, Final Cut Pro etc) Then have a few othe