Xoriant206 open jobs

Java developer

BackendPosted 7 weeks agofrom Xoriant's own hiring page

Work type
HybridSan Francisco Bay Area
Experience
8+ years
Pay
Not listedUsually $119k a yearBackend, median at 5–9 years, in the US (Payscale)
Posted
7 weeks ago
Before you apply: make your resume fit this job

From the ad

  • Degree or equivalent experienceor equivalent work experience will be considered Expert level programming knowledge in Java, including writing testable code Clear understanding of SDLC and ability to write efficient unit test cases and automation te…

Skills it mentions

Add your skills to see which ones you have.

Interview questions for this job6 with answers below, on Java, REST APIs and System design

About the job

Job Requirements
Job Title: Java developer Location: San Jose, CA (Hybrid) Duration: 6+ Months (Extension Possible) Top 3 Requirements (Non-negotiable skills and experience required for consideration.) JAVA (8 years minimum); 2. Micro services; 3. Back end systems JOB DESCRIPTION Minimum 8 years of related experience with a Bachelor’s degree; or 6 years and a Master’s degree; or a PhD with 3 years experience in Computer Science, Information Systems, Engineering or a related discipline; or equivalent work experience will be considered Expert level programming knowledge in Java, including writing testable code Clear understanding of SDLC and ability to write efficient unit test cases and automation test scripts to abide by Full Cycle Engineering Experience working with and possessing knowledge of merge methodologies using version control systems like GitLab, BitBucket etc Experienced in database technologies : Oracle, RDS, DynamoDB Expert in SOAP/REST communication, Usage of test harnesses, giving technical direction to fellow engineers and ability to write extensive architecture and design documents Excellent troubleshooting and issue resolution skills. Quickly isolates/debugs issues even in areas outside of one's own domain. Expert level knowledge of distributed system design, algorithms, logging framework, scaling and UML principles

3 more openings for this job

Xoriant posts this job once per place or skill set. Pick the one that fits you.

Interested?Java developer at Xoriant

Apply on company site (opens in a new tab)

The job ad ends here

Interview questions for this job6 with answers, on Java, REST APIs and System design

Interview questions for this job

For the skills the ad mentions: Java, REST APIs and System design.

546 questions
  • Describe map interface from java collectionJava

    Map interface

    An object that maps keys to values. A map cannot contain duplicate keys; each key can map to at most one value.

    This interface takes the place of the Dictionary class, which was a totally abstract class rather than an interface.

    The Map interface provides three collection views, which allow a map's contents to be viewed as a set of keys, collection of values, or set of key-value mappings. The order of a map is defined as the order in which the iterators on the map's collection views return their elements. Some map implementations, like the TreeMap class, make specific guarantees as to their order; others, like the HashMap class, do not.

    Note: great care must be exercised if mutable objects are used as map keys. The behavior of a map is not specified if the value of an object is changed in a manner that affects equals comparisons while the object is a key in the map. A special case of this prohibition is that it is not permissible for a map to contain itself as a key. While it is permissible for a map to contain itself as a value, extreme caution is advised: the equals and hashCode methods are no longer well defined on such a map.

    The "destructive" methods contained in this interface, that is, the methods that modify the map on which they operate, are specified to throw UnsupportedOperationException if this map does not support the operation. If this is the case, these methods may, but are not required to, throw an UnsupportedOperationException if the invocation would have no effect on the map. For example, invoking the putAll(Map) method on an unmodifiable map may, but is not required to, throw the exception if the map whose mappings are to be "superimposed" is empty.

    Some map implementations have restrictions on the keys and values they may contain. For example, some implementations prohibit null keys and values, and some have restrictions on the types of their keys. Attempting to insert an ineligible key or value throws an unchecked exception, typically NullPointerException or ClassCastException. Attempting to query the presence of an ineligible key or value may throw an exception, or it may simply return false; some implementations will exhibit the former behavior and some will exhibit the latter. More generally, attempting an operation on an ineligible key or value whose completion would not result in the insertion of an ineligible element into the map may throw an exception or it may succeed, at the option of the implementation. Such exceptions are marked as "optional" in the specification for this interface.

    Many methods in Collections Framework interfaces are defined in terms of the equals method. For example, the specification for the containsKey(Object key) method says: "returns true if and only if this map contains a mapping for a key k such that (key==null ? k==null : key.equals(k))." This specification should not be construed to imply that invoking Map.containsKey with a non-null argument key will cause key.equals(k) to be invoked for any key k. Implementations are free to implement optimizations whereby the equals invocation is avoided, for example, by first comparing the hash codes of the two keys. (The Object.hashCode() specification guarantees that two objects with unequal hash codes cannot be equal.) More generally, implementations of the various Collections Framework interfaces are free to take advantage of the specified behavior of underlying Object methods wherever the implementor deems it appropriate.

    Read the rest at the sourceFrom Android Interview Questions (Apache 2.0)

  • What is rest architecture? What are the requirements?REST APIs
    • resources being identified by a persistent identifier: URIs are the ubiquitous choice of identifier these days
    • resources being manipulated using a common set of verbs: HTTP methods are the commonly seen case - the venerable Create, Retrieve, Update, Delete becomes POST, GET, PUT, and DELETE. But REST is not limited to HTTP, it is just the most commonly used transport right now.
    • the actual representation retrieved for a resource is dependent on the request and not the identifier: use Accept headers to control whether you want XML, HTTP, or even a Java Object representing the resource
    • maintaining the state in the object and representing the state in the representation
    • representing the relationships between resources in the representation of the resource: the links between objects are embedded directly in the representation
    • resource representations describe how the representation can be used and under what circumstances it should be discarded/refetched in a consistent manner: usage of HTTP Cache-Control headers Links
    • https://stackoverflow.com/questions/671118/what-exactly-is-restful-programming
    • https://restfulapi.net/rest-architectural-constraints/

    From Java interview (MIT)

  • What is replication lag, and why does it matter?System design

    It is the delay before a write reaches the read replicas. During that window replicas return old data. A user can save a change and then not see it, which is why some reads must go to the leader.

    From Grokking System Design (open companion) (CC BY 4.0)

  • What are the purposes of inner classes?Java
    • It is a way of logically grouping classes that are only used in one place.
    • It increases encapsulation.
    • It can lead to more readable and maintainable code. Links
    • https://stackoverflow.com/questions/11398122/what-are-the-purposes-of-inner-classes
    • https://docs.oracle.com/javase/tutorial/java/javaOO/nested.html

    From Java interview (MIT)

  • Designing a REST api by URI vs query stringREST APIs

    First

    As Per RFC 3986 §3.4 (Uniform Resource Identifiers § (Syntax Components)|Query

    3.4 Query

    The query component contains non-hierarchical data that, along with data in the path component (Section 3.3), serves to identify a resource within the scope of the URI's scheme and naming authority (if any).

    Query components are for retrieval of non-hierarchical data; there are few things more hierarchical in nature than a family tree! Ergo - regardless of whether you think it is "REST-y" or not- in order to conform to the formats, protocols, and frameworks of and for developing systems on the internet, you must not use the query string to identify this information.

    REST has nothing to do with this definition.

    Before addressing your specific questions, your query parameter of "search" is poorly named. Better would be to treat your query segment as a dictionary of key-value pairs.

    Your query string could be more appropriately defined as

    ?first_name={firstName}&last_name={lastName}&birth_date={birthDate} etc.

    To answer your specific questions

    1. Which API design is more RESTful, and why? Semantically, they mean and behave the same way. The last resource in the URI is "children", effectively implying that the client is operating on the children resource.

    I don't think this is as clear cut as you seem to believe.

    None of these resource interfaces are RESTful. The major precondition for the RESTful architectural style is that Application State transitions must be communicated from the server as hypermedia. People have labored over the structure of URIs to make them somehow "RESTful URIs" but the formal literature regarding REST actually has very little to say about this. My personal opinion is that much of the meta-misinformation about REST was published with the intent of breaking old, bad habits. (Building a truly "RESTful" system is actually quite a bit of work. The industry glommed on to "REST" and back-filled some orthogonal concerns with nonsensical qualifications and restrictions. )

    What the REST literature does say is that if you are going to use HTTP as your application protocol, you must adhere to the formal requirements of the protocol's specifications and you cannot "make http up as you go and still declare that you are using http"; if you are going to use URIs for identifying your resources, you must adhere to the formal requirements of the specifications regarding URI/URLs.

    Your question is addressed directly by RFC3986 §3.4, which I have linked above. The bottom line on this matter is that even though a conforming URI is insufficient to consider an API "RESTful", if you want your system to actually be "RESTful" and you are using HTTP and URIs, then you cannot identify hierarchical data through the query string because:

    3.4 Query

    The query component contains non-hierarchical data

    ...it's as simple as that.

    1. What are the pros and cons to each in terms of understandability from a client's perspective, and maintainability from the designer's perspective.

    The "pros" of the first two is that they are on the right path. The "cons" of the third one is that it appears to be flat out wrong.

    As far as your understandability and maintainability concerns, those are definitely subjective and depend on the comprehension level of the client developer and the design chops of the designer. The URI specification is the definitive answer as to how URIs are supposed to be formatted. Hierarchical data is supposed to be represented on the path and with path parameters. Non-hierarchical data is supposed to be represented in the query. The fragment is more complicated, because its semantics depend specifically upon the media type of the representation being requested. So to address the "understandability" component of your question, I will attempt to translate exactly what your first two URIs are actually saying. Then, I will attempt to represent what you say you are trying to accomplish with valid URIs.

    Read the rest at the sourceFrom Software Engineering Stack Exchange: asked by HiChews123, answered by K. Alan Bates (CC BY-SA 4.0)

  • Have you ever failed at a task?Behavioural

    Employers usually base questions on jobs you have done in the past. This gives you the chance to talk about your experience. For instance, they might ask:

    • when have you faced a challenging situation?
    • can you tell us about a personal achievement at work?
    • have you ever taken the initiative?
    • have you ever failed at a task?

    Your answers should reflect the skills the employer wants. Be positive and tailor your examples to the job description.

    If you don't have much work history, you can use examples from outside of work. You can also use examples from volunteering experience.

    Use the  STAR method  to help structure your answers.

    From National Careers Service: interview advice (Open Government Licence v3.0)

Similar jobs

More like this: Backend developer jobs in San Francisco Bay Area (219), Jobs in San Francisco Bay Area (9,190) and Backend developer jobs in the USA (692)